php Codeigniter发送邮件
Codeigniter的邮件发送支持一下特性:
Multiple Protocols: Mail, Sendmail, and SMTP
Multiple recipients
CC and BCCs
HTML or Plaintext email
Attachments
Word wrapping
Priorities
BCC Batch Mode, enabling large email lists to be broken into small BCC batches.
Email Debugging tools
$this->load->library('email'); $this->email->from('w3@w3mentor.com', 'W3M'); $this->email->subject('Email Test'); $this->email->message('Testing the email class IN CODEIGNITER.'); $this->email->send();