Gmail 垃圾邮件中来自 apache 的电子邮件

发布于 2024-12-29 09:33:06 字数 3086 浏览 0 评论 0原文

我使用 php 从网页发送电子邮件。 Gmail 用户会在垃圾邮件中收到此电子邮件。 我已经创建了 DNS 反转记录和 MX 记录。 这是电子邮件代码:

Delivered-To: [email protected]
Received: by 10.204.60.140 with SMTP id p12cs47940bkh;
        Thu, 26 Jan 2012 07:12:08 -0800 (PST)
Received: by 10.224.116.201 with SMTP id n9mr3202312qaq.16.1327590727329;
        Thu, 26 Jan 2012 07:12:07 -0800 (PST)
Return-Path: <[email protected]>
Received: from banana-app.com (banana-app.com. [107.6.86.26])
        by mx.google.com with ESMTP id t19si1801483qcx.182.2012.01.26.07.12.06;
        Thu, 26 Jan 2012 07:12:07 -0800 (PST)
Received-SPF: pass (google.com: domain of [email protected] designates 107.6.86.26 as permitted sender) client-ip=107.6.86.26;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of [email protected] designates 107.6.86.26 as permitted sender) [email protected]
Received: from banana-app.com (banana-app.com [127.0.0.1])
    by banana-app.com (8.13.8/8.13.8) with ESMTP id q0QFC64q013520
    for <[email protected]>; Thu, 26 Jan 2012 10:12:06 -0500
Received: (from apache@localhost)
    by banana-app.com (8.13.8/8.13.8/Submit) id q0QFC6Rq013519;
    Thu, 26 Jan 2012 10:12:06 -0500
Message-Id: <[email protected]>
To: [email protected]
Subject: Password Recovery
X-PHP-Originating-Script: 0:Sendmail.php
From: info <[email protected]>
Reply-To: [email protected]
Date: Thu, 26 Jan 2012 17:12:06 +0200
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
MIME-Version: 1.0

=0A                Hello,=0A                <BR/>=0A                You=
 recently requested to reset the password for your account.=0A         =
<BR/>=0A                Banana=0A

有人可以帮我找到问题吗?

I send email from web page using php. Gmail users receive this email in spam.
I have created DNS revers record and MX record.
Here is code of email:

Delivered-To: [email protected]
Received: by 10.204.60.140 with SMTP id p12cs47940bkh;
        Thu, 26 Jan 2012 07:12:08 -0800 (PST)
Received: by 10.224.116.201 with SMTP id n9mr3202312qaq.16.1327590727329;
        Thu, 26 Jan 2012 07:12:07 -0800 (PST)
Return-Path: <[email protected]>
Received: from banana-app.com (banana-app.com. [107.6.86.26])
        by mx.google.com with ESMTP id t19si1801483qcx.182.2012.01.26.07.12.06;
        Thu, 26 Jan 2012 07:12:07 -0800 (PST)
Received-SPF: pass (google.com: domain of [email protected] designates 107.6.86.26 as permitted sender) client-ip=107.6.86.26;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of [email protected] designates 107.6.86.26 as permitted sender) [email protected]
Received: from banana-app.com (banana-app.com [127.0.0.1])
    by banana-app.com (8.13.8/8.13.8) with ESMTP id q0QFC64q013520
    for <[email protected]>; Thu, 26 Jan 2012 10:12:06 -0500
Received: (from apache@localhost)
    by banana-app.com (8.13.8/8.13.8/Submit) id q0QFC6Rq013519;
    Thu, 26 Jan 2012 10:12:06 -0500
Message-Id: <[email protected]>
To: [email protected]
Subject: Password Recovery
X-PHP-Originating-Script: 0:Sendmail.php
From: info <[email protected]>
Reply-To: [email protected]
Date: Thu, 26 Jan 2012 17:12:06 +0200
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
MIME-Version: 1.0

=0A                Hello,=0A                <BR/>=0A                You=
 recently requested to reset the password for your account.=0A         =
<BR/>=0A                Banana=0A

Can someone please help me finding the problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

白况 2025-01-05 09:33:06

您可以考虑使用 SwiftMailer 等库。在这样的库中,开发人员对防止被标记为垃圾邮件等主题进行了很多思考,因此这可能会解决您的问题。

You could consider using a library such as SwiftMailer. In libraries like that, the devs have given a lot of thought on topics like preventing to be marked as SPAM, so this might solve your problem.

口干舌燥 2025-01-05 09:33:06

许多电子邮件提供商将包含 HTML 内容的电子邮件检测为垃圾邮件。
再次尝试在电子邮件正文中使用简单文本以消除此选项。

Many email providers detect emails that contain HTML content as SPAM.
Try again with simple text in the email-body to eliminate this option.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文