error: The following From address failed: [email protected] : MAIL FROM command failed,authentication is required,126 smtp1,C8mowEAZF00s1vtWQ1IZAA--.7199S3 1459344940 ,553,smtp server error: MAIL FROM command failed Detail: authentication is required,126 smtp1,C8mowEAZF00s1vtWQ1IZAA--.7199S3 1459344940 smtp code: 553smtp server error: MAIL FROM command failed Detail: authentication is required,126 smtp1,C8mowEAZF00s1vtWQ1IZAA--.7199S3 1459344940 smtp code: 553
不知道什么原因,请大神来看看

解决方案 »

  1.   

    网上查的,看下,另外,换个例子试试,或换个sina的使用PHPmailer发送邮件时的常见问题:一,没有定义发送邮箱$mail->From或格式不正确,错误提示:Language string failed to load: recipients_failed [email protected],注意,这个配置一定要正确,而且是正确的邮箱二,没有定义邮件服务主机$mail->Host或连接失败,错误提示:Language string failed to load: connect_host三,没有定义发送邮箱$mail->AddAddress或邮箱格式不正确,错误提示:Language string failed to load: provide_address四,没有定义邮箱发送用户名$mail->Username,错误提示:Language string failed to load: connect_host五,没有定义邮箱发送密码$mail->Password,错误提示:Language string failed to load: connect_host,这类错误非常明显,一般都是邮箱服务器配置不正确不能边接。六,邮件正文编码,如果发送HTML邮件,需要定义正确的编码格式和字符,发送GBK邮件如下:
    $mail->IsHTML ( true ); 是否支持HTML邮件
    $mail->CharSet = "GB2312"; 字符设置
    $mail->Encoding = "base64"; 编码方式