We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1df2cf commit 7623582Copy full SHA for 7623582
README.md
@@ -1,6 +1,6 @@
1
# phpmailer-codeigniter
2
3
-Send mails via phpmailer on codeigniter
+Send mails via phpmailer on codeigniter. Can be useful for someone that doesnot want clone complete source of PHP Mailer repository.
4
5
## Usage
6
@@ -13,11 +13,12 @@ $mail = $this->phpmailerlib->load();
13
### Sample Function
14
15
```
16
+Replace USERNAME, PASSWORD, and other variables accordingly
17
function phpmailer()
- {
18
- $this->load->library("PhpMailerLib");
+{
19
+ $this->load->library("PhpMailerLib");
20
$mail = $this->phpmailerlib->load();
- try {
21
+ try {
22
//Server settings
23
$mail->SMTPDebug = 2; // Enable verbose debug output
24
$mail->isSMTP(); // Set mailer to use SMTP
0 commit comments