Author: raja.selvaraju | Posted on: 2/17/2010 9:26:49 AM | Views : 1264

hi,
Below code is working in our local. It is not working server. Code is below,
public static void MailToUser(string emailid, string body, string subjecttext)
{
System.Net.Mail.MailMessage myMail = new System.Net.Mail.MailMessage();
            myMail.Body = body;
            myMail.IsBodyHtml = true;
            myMail.Subject = subjecttext;
            myMail.Priority = System.Net.Mail.MailPriority.High;
            System.Net.Mail.MailAddress fromAddress = new System.Net.Mail.MailAddress("info@test.com");
            myMail.From = fromAddress;
&nbs ...

Go to the complete details ...