allabakash
allabakash

Reputation: 21

Mails sent through gmail using java mail api are delivered to spam. How to make them delivered to the inbox?

We've an application which is hosted on Amazon EC2. It is connecting to the gmail servers for sending the email to the registered users using Java Mail API. It sends emails using the gmail servers using the email address [email protected](not gmail.com email address). However, recently, the emails are getting delivered to the Spam folder of the users. Can you please suggest me how to over come this problem and have the mail delivered to the inbox?

Upvotes: 2

Views: 5043

Answers (1)

tftd
tftd

Reputation: 17042

There are a couple if reasons why your emails are being delivered to the "Spam folder":

  1. You haven't added SPF domain records. The SPF records are used to set from which IP addresses you will be sending emails. Every other IP address will be considered as spam. ( http://www.openspf.org/ )
  2. You are sending too much emails per hour - if you are sending many emails per hour you may get added in a blacklist. These blacklists are checked by the most popular email service providers such as gmail, hotmail and so on.
  3. Your IP address was blacklisted ( http://www.mxtoolbox.com/blacklists.aspx/ )

Upvotes: 2

Related Questions