Skip to content

Commit

Permalink
Use new namespaced PHPMailer exception
Browse files Browse the repository at this point in the history
Define alias for PHPMailer\Exception as phpmailerException, matching
previous usage in the code.

Fixes #25566
  • Loading branch information
dregad committed Mar 7, 2019
1 parent 557420b commit ab2353c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/email_api.php
Expand Up @@ -75,6 +75,7 @@
require_api( 'utility_api.php' );

use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception as phpmailerException;
use Mantis\Exceptions\ClientException;

# reusable object of class SMTP
Expand Down

0 comments on commit ab2353c

Please sign in to comment.