email类发邮件错误问题,请大家帮忙分析一下原因
问题描述:网站要做注册发邮件激活的功能,邮件服务是公司自己搭建的。
用自己公司的邮箱注册,能收到激活邮件,用其他邮箱注册,报错,收不到注册邮件。公司邮箱网页版和foxmail都可以给其他邮箱发邮件。客户端在发送邮件时必须勾选“此服务器要求安全连接 ssl” 貌似一般默认是不选的
请大家帮忙分析一下原因。
错误提示如下:
220 **********************************
hello: 250-mail.chukong-inc.com
250-PIPELINING
250-SIZE 52428800
250-VRFY
250-ETRN
250-XXXXXXXA
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
Failed to send AUTH LOGIN command. Error: 503 5.5.1 Error: authentication not enabled
from: 250 2.1.0 Ok
to: 554 5.7.1 <109667462@qq.com>: Relay access denied
The following SMTP error was encountered: 554 5.7.1 <109667462@qq.com>: 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
502 5.5.2 Error: command not recognized
The following SMTP error was encountered: 502 5.5.2 Error: command not recognized
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
页:
[1]