-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by:Ivan Tcholakov <[email protected]>
- Loading branch information
1 parent
eea7046
commit d3777ee
Showing
2 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
A CodeIgniter compatible email-library powered by PHPMailer | ||
=========================================================== | ||
|
||
Version: 1.2.25 | ||
Version: 1.2.26 | ||
Author: Ivan Tcholakov <[email protected]>, 2012-2017. | ||
License: The MIT License (MIT), http://opensource.org/licenses/MIT | ||
|
||
This library is intended to be compatible with CI 2.x and CI 3.x. | ||
|
||
Tested on CodeIgniter 3.1.6 (September 25th, 2017) and PHPMailer Version 5.2.25 (August 28th, 2017). | ||
Tested on CodeIgniter 3.1.6 (September 25th, 2017) and PHPMailer Version 5.2.26 (November 4th, 2017). | ||
|
||
Installation | ||
------------ | ||
|
@@ -96,12 +96,12 @@ $body = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// | |
//$body = $this->email->full_html($subject, $message); | ||
|
||
$result = $this->email | ||
->from('[email protected]') | ||
->reply_to('[email protected]') // Optional, an account where a human being reads. | ||
->to('[email protected]') | ||
->subject($subject) | ||
->message($body) | ||
->send(); | ||
->from('[email protected]') | ||
->reply_to('[email protected]') // Optional, an account where a human being reads. | ||
->to('[email protected]') | ||
->subject($subject) | ||
->message($body) | ||
->send(); | ||
|
||
var_dump($result); | ||
echo '<br />'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,15 @@ | |
|
||
/** | ||
* CodeIgniter compatible email-library powered by PHPMailer. | ||
* Version: 1.2.25 | ||
* Version: 1.2.26 | ||
* @author Ivan Tcholakov <[email protected]>, 2012-2017. | ||
* @license The MIT License (MIT), http://opensource.org/licenses/MIT | ||
* @link https://github.com/ivantcholakov/codeigniter-phpmailer | ||
* | ||
* This library is intended to be compatible with CI 2.x and CI 3.x. | ||
* | ||
* Tested on CodeIgniter 3.1.6 (September 25th, 2017) and | ||
* PHPMailer Version 5.2.25 (August 28th, 2017). | ||
* PHPMailer Version 5.2.26 (November 4th, 2017). | ||
*/ | ||
|
||
if (version_compare(CI_VERSION, '3.1.0') >= 0) { | ||
|