Hi,
iam using this code for sending email in asp.net with vb code.
tell me what to be added or set in the default smtp server.
Imports System.web.Mail
Dim
msg1 As New MailMessage
msg1.From =
'txtFrom.Text
msg1.To =
'txtTo.Text
msg1.Subject =
"test" 'txtSubject.Text
msg1.Body = strMessage.ToString
msg1.BodyFormat = MailFormat.Html
msg1.Priority = MailPriority.Normal
SmtpMail.SmtpServer =
"localhost" 'Your SMTP Server (what i should specify here) 'i specified my system ip
SmtpMail.Send(msg1)
iam getting the following error.
The message could not be sent to the SMTP server. The transport error code was 0x800ccc15. The server response was not available
i need help urgently.any one can suggest any solution...
rgds,
devi
No one has replied yet! Why not be the first?
Sign in or Join us (it's free).