VB.NET Problem.
2013-09-02, 08:16 PM,
#1
Okay so I have a new idea for amazing CR. 30-100%.
I am trying to code a program which will send e-mail with survey for e-mail activation like.
Camtasia studio needs to verify and other programs. Type in your e-mail to verify and activate product. Only the activation link will be survey.

I tried many things
This is final result
Code:
ElseIf TextBox1.Visible = True Then
            Dim mail As New MailMessage()
            Dim SmtpServer As New SmtpClient
            SmtpServer.Credentials = New Net.NetworkCredential("gmail account", "password")
            SmtpServer.Port = 587
            SmtpServer.Host = "smtp.gmail.com"
            SmtpServer.EnableSsl = True
            SmtpServer.EnableSsl = True
            mail.To.Add("hf.net@outlook.com")
            mail.From = New MailAddress("hf.net@outlook.com")
            mail.Subject = "fgolashgfkjsahgkjsdfhgkljgh"
            mail.Body = " Body op skiten"
            Smtp.Send(mail)
            mail.Body = "What should be inside the mail."
        End If
But this doesn't work. I want it to send a mail to the person which types and clicks button.
For example someone types ogfhsfdjgh@mailnator.com and a message (mail) comes to his e-mail with some text and survey link as verification. I am out of ideas and google as well! :)

HELP?
2013-09-02, 08:20 PM,
#2
I didn't understand very well what is the problem with program that you're coding. Please sent me a detailed info on PM. I maybe could help you cause I'm pro on VB.NET :)


Possibly Related Threads...
Thread Author Replies Views Last Post
  [HELP] Big problem! CagelessBrain 1 127 2017-10-08, 03:29 AM
Last Post: HawkEye
  facebook groups problem madeline 6 156 2017-08-31, 11:27 AM
Last Post: omoss20
  Problem with twitter replies traffic akimo10 5 119 2017-08-28, 10:57 PM
Last Post: Danisk
  Cpa + 000webhosting and Namecheap domain problem Denisdeblois 2 166 2017-08-12, 06:32 PM
Last Post: Denisdeblois
  CPAGrip problem confusedtick 5 249 2017-08-08, 09:19 PM
Last Post: YalaYolo




About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top