使用Java邮件api通过gmail发送的邮件将传递到垃圾邮件.如何使它们传递到收件箱? [英] Mails sent through gmail using java mail api are delivered to spam. How to make them delivered to the inbox?

查看:111
本文介绍了使用Java邮件api通过gmail发送的邮件将传递到垃圾邮件.如何使它们传递到收件箱?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个托管在Amazon EC2上的应用程序.它正在连接到gmail服务器,以便使用Java Mail API将电子邮件发送给注册用户.它使用电子邮件地址support@domainname.com(不是gmail.com电子邮件地址)使用gmail服务器发送电子邮件.但是,最近,电子邮件已传递到用户的垃圾邮件"文件夹中.您能建议我如何解决这个问题并将邮件传递到收件箱吗?

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 support@domainname.com(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?

推荐答案

有几种原因可以将您的电子邮件发送到垃圾邮件文件夹":

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

  1. 您尚未添加SPF域记录. SPF记录用于设置将从哪个IP地址发送电子邮件.其他每个IP地址都将被视为垃圾邮件. ( http://www.openspf.org/)
  2. 您每小时发送的电子邮件过多-如果您每小时发送的电子邮件过多,您可能会被添加到黑名单中.这些黑名单由最受欢迎的电子邮件服务提供商(例如gmail,hotmail等)检查.
  3. 您的IP地址已列入黑名单( http://www.mxtoolbox.com/blacklists.aspx/)
  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/ )

这篇关于使用Java邮件api通过gmail发送的邮件将传递到垃圾邮件.如何使它们传递到收件箱?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆