Jac*_*ack 5 php email smtp codeigniter
我正在尝试通过我的PHP脚本通过SMTP发送电子邮件,通过CodeIgniter运行.
请参阅下面的调试输出.这是用PHP(Unable to send email using PHP SMTP)还是在他们的末尾指示我的问题(hello: 250-parrot.email-provider.co.uk- 这意味着它已连接到他们的服务器,因为我输入的实际SMTP服务器是mail2.email-provider.co.uk,所以它似乎连接并重定向到这个parrot东西).
我的SMTP详细信息我已经确认是正确的,但仍然说它无法验证密码 - 即使相同的密码在我的本机邮件客户端中有效.
我已经更改了我的网站名称和提供商的名称(如果这是我的错,我不想说出耻辱!):
220 parrot.email-provider.co.uk ESMTP Postfix
hello: 250-parrot.email-provider.co.uk
250-PIPELINING
250-SIZE 512000000
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN CRAM-MD5 DIGEST-MD5
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
Failed to authenticate password. Error: 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6
from: 250 2.1.0 Ok
to: 554 5.7.1 : Relay access denied
The following SMTP error was encountered: 554 5.7.1 : Relay access denied
to: 554 5.7.1 : Relay access denied
The following SMTP error was encountered: 554 5.7.1 : Relay access denied
to: 554 5.7.1 : Relay access denied
The following SMTP error was encountered: 554 5.7.1 : Relay access denied
data: 554 5.5.1 Error: no valid recipients
The following SMTP error was encountered: 554 5.5.1 Error: no valid recipients
221 2.7.0 Error: I can break rules, too. Goodbye.
The following SMTP error was encountered: 221 2.7.0 Error: I can break rules, too. Goodbye.
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
User-Agent: CodeIgniter
Date: Wed, 7 Dec 2011 13:30:16 +0000
From: "Mysite.com"
Return-Path:
To: myemail@email.com
Cc: myotheremail@email.com
Subject: =?utf-8?Q?The_Subject?=
Reply-To: "mail@mysite.com"
X-Sender: mail@mysite.com
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID: <4edf6a68626d6@mysite.com>
Mime-Version: 1.0
Run Code Online (Sandbox Code Playgroud)
如果您使用的是 codeigniter 邮件对象,请尝试: $this->email->print_debugger()
暴力方法,从应用程序上一级并放入 log_message/trace 等,调试实际的 codeigniter 代码以查看发生了什么。
| 归档时间: |
|
| 查看次数: |
5111 次 |
| 最近记录: |