Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Duplicate emails receiving

Duplicate emails receiving

Scheduled Pinned Locked Moved ASP.NET
helpcsharpcomsysadminhosting
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vayanan
    wrote on last edited by
    #1

    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

    N 1 Reply Last reply
    0
    • V 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

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      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

      V 1 Reply Last reply
      0
      • N N a v a n e e t h

        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

        V Offline
        V Offline
        vayanan
        wrote on last edited by
        #3

        Thanks for Reply but when i am sending from gmail account it is not duplicating.. they are receiving only one Regards Vayanan

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups