Duplicate emails receiving
-
Hi all I am using System.Net,Mail.SmtpClient to send the email alert from the web server. the code is mentioned bellow
MailMessage message = new MailMessage(); message.From = new MailAddress("admin@mydomaincom"); message.To.Add("email@mydomain.com"); message.Subject = "EMAIL TEST FROM WEBSERVER"; message.Body = "BODY"; message.IsBodyHtml = true; SmtpClient smtp = new SmtpClient("relay-hosting.secureserver.net"); smtp.Send(message);
when the mail is sending from the Webserver to a gmail account or hotmail account it is not repeating...when it is sending to a private domain account it is repeating..(not for all private account) where as when the email is sending from gmail to that private email account it is not duplicating I am using godaddy webhosting... Please help me to solve this problem.... Regards Vayanan
-
Hi all I am using System.Net,Mail.SmtpClient to send the email alert from the web server. the code is mentioned bellow
MailMessage message = new MailMessage(); message.From = new MailAddress("admin@mydomaincom"); message.To.Add("email@mydomain.com"); message.Subject = "EMAIL TEST FROM WEBSERVER"; message.Body = "BODY"; message.IsBodyHtml = true; SmtpClient smtp = new SmtpClient("relay-hosting.secureserver.net"); smtp.Send(message);
when the mail is sending from the Webserver to a gmail account or hotmail account it is not repeating...when it is sending to a private domain account it is repeating..(not for all private account) where as when the email is sending from gmail to that private email account it is not duplicating I am using godaddy webhosting... Please help me to solve this problem.... Regards Vayanan
Code looks OK to me. Problem may be with those private email providers. Try with their customer support.
Navaneeth How to use google | Ask smart questions
-
Code looks OK to me. Problem may be with those private email providers. Try with their customer support.
Navaneeth How to use google | Ask smart questions