mail is not received using smtp URGENT!! please help - TechRepublic
General discussion
July 21, 2004 at 10:53 PM
ernidhi2003

mail is not received using smtp URGENT!! please help

by ernidhi2003 . Updated 21 years, 11 months ago

hi everyone,
i need to send mail to the user when he clicks a button.i am SMTP and server=209.249.62.185
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”
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.

why???what’s wrong? please help

This discussion is locked

All Comments