【问题标题】:Sending mails throught Mandrill with Wordpress使用 Wordpress 通过 Mandrill 发送邮件
【发布时间】:2019-04-23 21:03:34
【问题描述】:

我已经在我的网站上安装了 WP Mail SMTP 插件并填写了 Mandrill 的所有凭据。但是邮件没有发送。

当我检查 API 日志时,我得到了这个:

{
"raw_message": "Received: from axces-staging.houston-1.hybridmedia.be (unknown [35.157.140.202])\n\t(Authenticated sender: MUum57CGpPUpNlki0O7Bxg@axces.be)\n\tby relay-5.eu-west-1.relay-prod (Postfix) with ESMTPA id 2C5E926E55\n\tfor <dennis@hybridagency.be>; Wed, 21 Nov 2018 09:53:00 +0000 (UTC)\nDate: Wed, 21 Nov 2018 09:52:59 +0000\nTo: dennis@hybridagency.be\nFrom: Axces <info@axces.be>\nSubject: WP Mail SMTP: Test email to dennis@hybridagency.be\nMessage-ID: <e6cd9b1f17f5015000ce9887d17deee2@axces-staging.houston-1.hybridmedia.be>\nX-Mailer: WPMailSMTP/Mailer/smtp 1.3.3\nMIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\n\nThis email was sent by Other SMTP mailer, and generated by the WP Mail SMTP WordPress plugin.\n",
"key": "my-api-key-here",
"from_email": null,
"to": [
    "dennis@hybridagency.be"
],
"return_path_domain": null,
"send_at": null,
"from_name": null,
"ip_pool": null,
"async": false
}

我的 SMTP 设置是: smtp.mandrillapp.com 加密:TLS 港口:587 身份验证:开启 用户名:Mandrill 中给出的用户名 密码:API 密钥

可能出了什么问题?我在 API 日志中看到 "from_name": null,但我的设置中有一个 from_name。

【问题讨论】:

    标签: wordpress email smtp mandrill


    【解决方案1】:

    您可以尝试安装Easy WP SMTP Plugin 并插入 smtp 详细信息。你可以得到解决方案。

    【讨论】:

    • 当我使用插件时,我得到这个错误:SMTP ERROR: Failed to connect to server: (0)SMTP connect() failed。 github.com/PHPMailer/PHPMailer/wiki/Troubleshooting 但是很奇怪,因为连接凭据是正确的。
    • 您是否尝试在没有凭据的情况下发送邮件。因为有测试的选项。所以,你可以使用并尝试它。你可以理解问题出在哪里。
    • 不,这行不通。难道这是一个免费的 Mandrill 帐户?但它说我最多可以发送 25 封邮件。
    猜你喜欢
    • 2016-07-04
    • 2015-10-22
    • 2013-05-10
    • 2017-01-12
    • 2014-11-21
    • 2018-01-05
    • 2015-10-27
    • 2014-09-30
    • 2017-04-03
    相关资源
    最近更新 更多