Home > Backend Development > PHP Tutorial > 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
Release: 2016-07-13 10:02:09
Original
808 people have browsed it

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();
Copy after login

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...
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template