Sending an email not working?
I am using the MailMessage object to send e-mail.But it still not sending
Here is the code:
I have refrenced <%@ Import Namespace="System.Web.Mail" %> file in my program.
email = new MailMessage();
email.To = mTo;
email.Subject = mSubject;
email.Body = mBody;
mErrmsg = "Error Sending Message";
If I step through the above code it execute without error .But still when
I check for the e-mail, I never receive it.Let me know what is wrong with
the above code?
So why I am not able to get the email which is sended by using above code.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center