Author: nikhiljon | Posted on: 11/28/2009 12:40:37 PM | Views : 266

Hello Frds,
I'm use SMTP username and password when i sent email its comes in spam 
How do i resolve this problem.


Here is my code
public void ExecuteHtmlSendMail(string FromAddress, string ToAddress, string BodyText, string Subject){MailMessage mailMsg = new MailMessage();
 
mailMsg.From = new MailAddress(FromAddress);mailMsg.To.Add(new MailAddress(ToAddress));mailMsg.Subject = Subject;mailMsg.BodyEncoding = System.Text.Encoding.GetEncoding("utf-8?);
...

Go to the complete details ...