CodeIgniter’s robust Email Class supports the following features: Sending email is not only simple, but you can configure it on
the fly or set your preferences in the app/Config/Email.php file. Here is a basic example demonstrating how you might send email: There are 21 different
preferences available to tailor how your email messages are sent. You can either set them manually as described here, or automatically via preferences stored in your config file, described below: Preferences are set by passing an array of preference values to the email initialize method. Here is an example of how you might set some preferences:Using the Email
Library
Sending Email
Setting Email Preferences