邮件类怎么会这样
本帖最后由 Closer 于 2015-3-3 09:13 编辑220 163.com Anti-spam GT for Coremail System (163com)
hello: 250-mail250-PIPELINING250-AUTH LOGIN PLAIN250-AUTH=LOGIN PLAIN250-coremail 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2Ur_KeARUCa0xDrUUUUj250-STARTTLS250 8BITMIMEFailed to authenticate password. Error: 550 用户被锁定
from: 550 用户被锁定The following SMTP error was encountered: 550 用户被锁定
to: 503 bad sequence of commandsThe following SMTP error was encountered: 503 bad sequence of commands
data: 503 bad sequence of commandsThe following SMTP error was encountered: 503 bad sequence of commands
502 Error: command not implemented
The following SMTP error was encountered: 502 Error: command not implemented
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
User-Agent: CodeIgniterDate: Mon, 2 Mar 2015 12:25:08 +0000From: <18039863962@163.com>Return-Path: <18039863962@163.com>To: 377932769@qq.comSubject: =?utf-8?Q?=d3=ca=bc=fe=b2=e2=ca=d4=b7=c7=c0=ac=bb=f8=d3=ca=bc=fe?=Reply-To: "18039863962@163.com" <18039863962@163.com>X-Sender: 18039863962@163.comX-Mailer: CodeIgniterX-Priority: 1 (Highest)Message-ID: <54f456a4842f8@163.com>Mime-Version: 1.0Content-Type: multipart/alternative; boundary="B_ALT_54f456a484310"This is a multi-part message in MIME format.Your email application may not support this format.--B_ALT_54f456a484310Content-Type: text/plain; charset=utf-8Content-Transfer-Encoding: 8bit哈哈哈哈哈哈!成功了!--B_ALT_54f456a484310Content-Type: text/html; charset=utf-8Content-Transfer-Encoding: quoted-printable哈哈哈哈哈哈!成功了!--B_ALT_54f456a484310--
大神看看怎么回事我的代码是这样的
本帖最后由 Closer 于 2015-3-3 09:37 编辑
public function index(){
//CI send Emaill
$config['protocol'] = 'smtp';
$config['smtp_host'] = 'smtp.163.com';
$config['smtp_user'] = 'xxxx';
$config['smtp_pass'] = 'xxxx';
$config['smtp_port'] = '25';
$config['smtp_timeout'] = '10';//timeout 10s
$config['mailtype'] = 'html';
$config['validate'] = true;
$config['priority'] = 1;
$config['crlf']= "\r\n";
$config['smtp_port'] = 25;
$config['charset'] = 'utf-8';
$config['wordwrap'] = TRUE;
$this->email->initialize($config);
$this->email->from('18039863962@163.com');
$this->email->to('377932769@qq.com');
$this->email->subject("邮件测试非垃圾邮件");
$this->email->message('哈哈哈哈哈哈!成功了!');
$this->email->send();
echo $this->email->print_debugger();
} 楼主搞定了吗?我现在也遇到了这样的问题
页:
[1]