用户
 找回密码
 入住 CI 中国社区
搜索
查看: 2586|回复: 4
收起左侧

[HELP] 求助,国外服务器发送邮件不能

[复制链接]
发表于 2014-7-28 11:20:05 | 显示全部楼层 |阅读模式
网站在国外,但是发送邮件的功能不好用了,在本地测试没啥问题,下面是CI提供的错误代码,求分析
220-p3plcpnl0371.prod.phx3.secureserver.net ESMTP Exim 4.82 #2 Sun, 27 Jul 2014 20:02:42 -0700 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
hello: 250-p3plcpnl0371.prod.phx3.secureserver.net Hello p3plcpnl0371.prod.phx3.secureserver.net [50.62.161.138]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP

Failed to authenticate password. Error: 535 Incorrect authentication data
from: 250 OK

to: 550-Please turn on SMTP Authentication in your mail client.
550-p3plcpnl0371.prod.phx3.secureserver.net (cqtx.jswj.co)
550-[50.62.161.138]:23948 is not permitted to relay through this server without
550 authentication.

The following SMTP error was encountered: 550-Please turn on SMTP Authentication in your mail client. 550-p3plcpnl0371.prod.phx3.secureserver.net (cqtx.jswj.co) 550-[50.62.161.138]:23948 is not permitted to relay through this server without 550 authentication.
data: 503-All RCPT commands were rejected with this error:
503-Please turn on SMTP Authentication in your mail client.
503-p3plcpnl0371.prod.phx3.secureserver.net (cqtx.jswj.co)
503-[50.62.161.138]:23948 is not permitted to relay through this server without
503-authentication.
503 Valid RCPT command must precede DATA

The following SMTP error was encountered: 503-All RCPT commands were rejected with this error: 503-Please turn on SMTP Authentication in your mail client. 503-p3plcpnl0371.prod.phx3.secureserver.net (cqtx.jswj.co) 503-[50.62.161.138]:23948 is not permitted to relay through this server without 503-authentication. 503 Valid RCPT command must precede DATA
500 unrecognized command
The following SMTP error was encountered: 500 unrecognized command
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
User-Agent: CodeIgniter
Date: Mon, 28 Jul 2014 03:02:42 +0000
From: "test" <helgoland@163.com>
Return-Path: <helgoland@163.com>
To: 958461137@qq.com
Subject: =?utf-8?Q?This_is_a_test_email_from_163.com_by_Mr.Helgoland?=
Reply-To: "helgoland@163.com" <helgoland@163.com>
X-Sender: helgoland@163.com
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID: <53d5bd52574d1@163.com>
Mime-Version: 1.0


Content-Type: multipart/alternative; boundary="B_ALT_53d5bd5257512"

This is a multi-part message in MIME format.
Your email application may not support this format.

--B_ALT_53d5bd5257512
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

This is the alternative message


--B_ALT_53d5bd5257512
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable


--B_ALT_53d5bd5257512--
发表于 2014-7-28 14:35:23 | 显示全部楼层
首先你确定国外服务器是可以使用sendmail的, 你用php直接测试一下.

按错误显示, 是你的服务器不允许你使用这个smtp验证, 并且验证还是失败的, 没有登陆成功
 楼主| 发表于 2014-7-28 15:12:44 | 显示全部楼层
IvanCI 发表于 2014-7-28 14:35
首先你确定国外服务器是可以使用sendmail的, 你用php直接测试一下.

按错误显示, 是你的服务器不允许你使 ...

请问怎么测,用phpinfo()么...
 楼主| 发表于 2014-7-29 16:11:41 | 显示全部楼层
问题解决了...顺便问下,QQ邮箱是不是自带屏蔽垃圾邮件机制啊,给自己发了不少测试邮件,就显示了一封,剩下的都屏蔽了fml...
发表于 2014-7-30 13:57:34 | 显示全部楼层
helgoland 发表于 2014-7-29 16:11
问题解决了...顺便问下,QQ邮箱是不是自带屏蔽垃圾邮件机制啊,给自己发了不少测试邮件,就显示了一封,剩 ...

如何解决的?

QQ会屏蔽的, 一般只显示第一封, 之后测试就找不到了.  换显示名字应该还可以收到

本版积分规则