views:

52

answers:

3

I am able to send an email successfully to my gmail account and the mail goes to the INBOX, but when i send it to hotmail it reaches the Junk/Spam folder?

I am using System.Net.Mail to send email.

A: 

Gmail and Hotmail will be running different junk mail filters so while your e-mail is acceptable to one it might not be to the other.

Make sure that your e-mail is well formed:

  • the headers are valid
  • the content type matches the body
  • the title is set and relevant to the content
  • the body doesn't contain a lot of images/links etc

You could try sending the mail as plain text rather than HTML.

The fall back position is to tell your subscribers to add your sending e-mail address to their white list. It's not ideal, but it will allow your e-mails through.

ChrisF
Hi Chris , Thank you for your reply. However i quite dont understand the above points ,as to how do i check if the headers are valid,the content type matches the body (The content is an HTML content) the title here im assuming is the subject which is relavent to the content . The body however does contain a link basically its a forgotton password functionality so in the mail i send a link quite a long one ,i also tried removing the link but still does not work. ?
Francis
@Francis - I haven't got a definitive reference to hand but this - http://www.emailaddressmanager.com/tips/header.html explains some things in greater depth.
ChrisF
@Francis - If the e-mail *only* contains a link then Hotmail might think that it's spam. Do you have some text explaining what to do with the link? If not add some.
ChrisF
Yes there is a content of about 4-5 lines then followed by the link.
Francis
Even if i remove the link and put plain HTML text it still goes to the JUNK folder.
Francis
@Francis - OK, sounds like that specific thing isn't the main cause.
ChrisF
+1  A: 

A lot of junk email filters will check if your email originated from ip address(es) that your mail server(s) has using a MX record lookup.

You can add your application server to your DNS using SPF records.

http://en.wikipedia.org/wiki/Sender_Policy_Framework

jgauffin
A: 

Each ISP maintains their own filtering list. This is often based on sender reputation. To get out of the junk email folder, you need to improve your sender's reputation.

Hotmail/MSN have an information page here: http://mail.live.com/mail/services.aspx

If you run your own server, perhaps you get get enrolled into the sender information services. This will provide some insights into why your email is being treated as junk.

Also, be sure you have SenderID (SPF) records setup for your domain and that they are accurate.

http://www.microsoft.com/mscorp/safety/content/technologies/senderid/wizard/

I am not sure if Microsoft is checking DKIM/DK records yet but it is also useful to specify those as well.

Be sure your remote DNS is configuration properly.

Lastly, you may want to monitor your sender's reputation using: https://www.senderscore.org/ http://www.senderbase.org/

Also, look out for any forwarding of email from your server to Hotmail related addresses. If you have a user forwarding email and then marketing it as spam, your server's IP will get dinged for it.

jeffatrackaid