【CodeIgniter 发送邮件】
下面是个简单的例子,用于演示如何发送邮件。注意:这个例子假设你是在某个Controllers 里面发送邮件。 public function __construct()
{//引用email类$this->load->library('email');}public function sendmail(){
$this->email->from('your@example.com', 'Your Name');
$this->email-
原创
2022-06-09 01:32:57 ·
233 阅读 ·
0 评论