09-17-2012, 11:44 AM
brco900033 Wrote:Maybe you could try this one:
[code2=vbnet]Dim MyMailMessage As New MailMessage()
MyMailMessage.From = New MailAddress("your email")
MyMailMessage.To.Add("to someone")
MyMailMessage.Subject = ("your subject")
MyMailMessage.Body = "your text"
Dim SMTPServer As New SmtpClient("for example for Hotmail: smtp.live.com")
SMTPServer.EnableSsl = False
SMTPServer.Port = 587
SMTPServer.Credentials = New System.Net.NetworkCredential("your email", "your email password")
SMTPServer.EnableSsl = True
SMTPServer.Send(MyMailMessage)[/code2]
Hope this works for you!
thanks it to I got 98 out of 100.
thanks agian
Support me by take tour to BPForums http://bit.ly/YTBCS1
Get More Views on youtubehttp://addm.cc/?WIZ01V
Get More Views on youtubehttp://addm.cc/?WIZ01V