CodeIgniter Forums

Full Version: Email Class
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum


This is in the CI documents for the email class

$this->email->from('', 'Your Name');

$this->email->subject('Email Test');
$this->email->message('Testing the email class.');


how do i actually add custom headers to the email?

El Forum

[eluser]Derek Jones[/eluser]
Though it's not intended to be used in that manner, there's a private _set_header() method you can use if necessary.