Why emails to clients are going to spam folder?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jegathambigai
    New Member
    • Apr 2009
    • 2

    Why emails to clients are going to spam folder?

    Dear Team


    WE are using ASP.Net with C#, for developing projects.

    In many places we are sending emails to clients. These emails are reaching our clients SPAM box.

    Please give solution to avoid this because it is keep on blocking our server and we are unable to proceed further.

    Sample code is attached:

    Code:
    string from = "asd@gmail.com";
    string to = a.ToString();
    MailMessage mail = new MailMessage();
    mail.From = new MailAddress(from, "",system.text.encoding.UTF8);
                mail.To.Add(a.ToString());
    mail.subject="";
               mail.SubjectEncoding = System.Text.Encoding.UTF8;
    mail.body="";
    mail.BodyEncoding = System.Text.Encoding.UTF8;
               mail.IsBodyHtml = true;
               mail.Priority = MailPriority.Normal;
               try
               {
                   SmtpClient client = new SmtpClient("smtp.gmail.com");
                   client.Credentials = new System.Net.NetworkCredential(from, "12345");
                   client.DeliveryMethod = SmtpDeliveryMethod.Network;
                  client.Port = 587;
                 client.EnableSsl = true;
                   client.Send(mail);
    }
    Last edited by Niheel; Aug 1 '10, 05:58 PM. Reason: code tags
  • muller
    New Member
    • Jun 2010
    • 1

    #2
    Hi

    If your emails are being marked as spam, it is most likely something on your clients spam filter, and nothing you can do from your side. Check the content of your emails, maybe you will find something that is causing it to be marked as spam.

    Ask your clients to add your email address to their safe senders list.

    If your server is being blocked, it is most likely because you are sending out too many emails at once, not because your clients spam filter is blocking them. Try checking with your ISP the maxmimum number of emails you are allowed to send every hour.

    Comment

    • Plater
      Recognized Expert Expert
      • Apr 2007
      • 7872

      #3
      Make sure your "from" header and the actual from are the same and a real email address.
      Make sure you do not list and IP addresses in the email title/body/head/etc.
      Avoid words that are commonly blocked: swear words, sexual words, body parts, things related to medicine or other questionable content.

      Comment

      • PsychoCoder
        Recognized Expert Contributor
        • Jul 2010
        • 465

        #4
        Other than the ideas already mention there really isn't a lot you can do from your end on this issue. You can always check to see if your host/ISP is on some sort of black list. I would also try setting mail.Priority to MailPriority.Hi gh

        Comment

        Working...