iam sending mail with smtp .
code is as:
I am importing System.Web.Mail
Dim objEmail As New Email()
objEmail.FromAddress = "ernidhi2003@yahoo.com"
objEmail.ToAddress = "nidhi@hotmail.com objEmail.EmailSubject = "hi"
objEmail.EmailBody = "hi"
SmtpMail.SmtpServer = "209.249.62.185"
SendMail(objEmail)
Label1.Text = "sent"
also using "try catch" but getting no error . also, on running the code i get the msg "sent" through the Label1. still, the mail is not received at nidhi@hotmail.com.
i have checked at dos promp that smtp service is running on my system