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

[HELP] 邮件类怎么会这样

[复制链接]
发表于 2015-3-2 20:29:05 | 显示全部楼层 |阅读模式
本帖最后由 Closer 于 2015-3-3 09:13 编辑
  1. 220 163.com Anti-spam GT for Coremail System (163com[20141201])
  2. hello: 250-mail250-PIPELINING250-AUTH LOGIN PLAIN250-AUTH=LOGIN PLAIN250-coremail 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2Ur_KeARUCa0xDrUUUUj250-STARTTLS250 8BITMIMEFailed to authenticate password. Error: 550 用户被锁定
  3. from: 550 用户被锁定The following SMTP error was encountered: 550 用户被锁定
  4. to: 503 bad sequence of commandsThe following SMTP error was encountered: 503 bad sequence of commands
  5. data: 503 bad sequence of commandsThe following SMTP error was encountered: 503 bad sequence of commands
  6. 502 Error: command not implemented
  7. The following SMTP error was encountered: 502 Error: command not implemented
  8. Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
  9. User-Agent: CodeIgniterDate: Mon, 2 Mar 2015 12:25:08 +0000From: <[email]18039863962@163.com[/email]>Return-Path: <[email]18039863962@163.com[/email]>To: [email]377932769@qq.comSubject[/email]: =?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" <[email]18039863962@163.com[/email]>X-Sender: [email]18039863962@163.comX[/email]-Mailer: CodeIgniterX-Priority: 1 (Highest)Message-ID: <[email]54f456a4842f8@163.com[/email]>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--
复制代码


大神看看怎么回事我的代码是这样的

 楼主| 发表于 2015-3-2 20:31:17 | 显示全部楼层
本帖最后由 Closer 于 2015-3-3 09:37 编辑
PHP复制代码
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();
}
复制代码
发表于 2015-6-18 14:20:22 | 显示全部楼层
楼主搞定了吗?我现在也遇到了这样的问题

本版积分规则