Skip to content

Commit c023f1c

Browse files
committed
Upgrade PHPMailer to v6.0
1 parent 252b43f commit c023f1c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

application/core/Mail.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?php
22

3+
/* Using PHPMailer's namespace */
4+
use PHPMailer\PHPMailer\PHPMailer;
5+
36
/**
47
* Class Mail
58
*

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"license": "MIT",
88
"require-dev": {
99
"php": ">=5.5.0",
10-
"phpmailer/phpmailer": "~5.2",
10+
"phpmailer/phpmailer": "~6.0",
1111
"gregwar/captcha": "~1.1",
1212
"phpunit/phpunit": "4.8.*|5.7.*"
1313
},

0 commit comments

Comments
 (0)