i am sending e mail using asp.net throgh gmail acount i have this problem error:"The transport failed to connect to the server" pls help me
my code is this===============
Try
Dim myMail As New MailMessage
myMail.Fields.Add("http:'schemas.microsoft.com/cdo/configuration/smtpserver", "smtp.gmail.com")
myMail.Fields.Add("http:'schemas.microsoft.com/cdo/configuration/smtpserverport", "465")
myMail.Fields.Add("http:'schemas.microsoft.com/cdo/configuration/sendusing", "2")
myMail.Fields.Add("http ...
Go to the complete details ...