File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -44,13 +44,13 @@ If PHPMailer was previously installed through Composer, uninstall it temporarily
44
44
composer remove PHPMailer/PHPMailer
45
45
```
46
46
47
- Now install this library's package, it will install a correct version of PHPMailer:
47
+ Now install this library's package, it will install a correct version of PHPMailer too :
48
48
49
49
```
50
50
composer require ivantcholakov/codeigniter-phpmailer
51
51
```
52
52
53
- Create the file application/helpers/MY_email_helper.php with the following content:
53
+ Create a file application/helpers/MY_email_helper.php with the following content:
54
54
55
55
``` php
56
56
<?php defined('BASEPATH') OR exit('No direct script access allowed.');
@@ -78,7 +78,7 @@ if (is_file(VENDORPATH.'ivantcholakov/codeigniter-phpmailer/helpers/MY_email_hel
78
78
//}
79
79
```
80
80
81
- Create the file application/libraries/MY_Email.php with the following content:
81
+ Create a file application/libraries/MY_Email.php with the following content:
82
82
83
83
``` php
84
84
<?php defined('BASEPATH') OR exit('No direct script access allowed.');
@@ -95,8 +95,8 @@ this package and PHPMailer would be done later easily:
95
95
composer update
96
96
```
97
97
98
- Library's Configuration and Sending an E-mail (An Example)
99
- ----------------------------------------------------------
98
+ Configuration and Sending an E-mail (An Example)
99
+ ------------------------------------------------
100
100
101
101
Create if necessary or edit the file ` application/config/email.php ` which contains
102
102
the default settings for the email engine. For a Gmail account, the setting might be something like this:
You can’t perform that action at this time.
0 commit comments