Home  >  Article  >  Backend Development  >  How to send emails with Codeigniter, send emails with codeigniter_PHP tutorial

How to send emails with Codeigniter, send emails with codeigniter_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:02:09768browse

Codeigniter's method of sending emails, codeigniter's method of sending emails

The example in this article describes the method of Codeigniter's sending emails. Share it with everyone for your reference. The specific analysis is as follows:

Codeigniter’s email sending supports the following features:

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

The specific code is as follows:

$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();

I hope this article will be helpful to everyone’s PHP programming based on Codeigniter.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/970860.htmlTechArticleCodeigniter's method of sending emails, codeigniter's method of sending emails. This article describes the method of Codeigniter's method of sending emails. Share it with everyone for your reference. The specific analysis is as follows: Codeignite...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn