添加 Email IMAP and SMTP

php 下测试 

1.IMAP

imap_open($hostname, $this->imapUsername, $this->imapPassword, null, 1);

$hostname={imap.gmail.com:993/imap/ssl/novalidate-cert}INBOX

2.SMTP

  download the extensions from http://swiftmailer.org/

host:ssl://smtp.gmail.com

port 465

 

posted @ 2013-04-09 17:28  牙齿晒太阳(mi哥)  阅读(152)  评论(0编辑  收藏  举报