summaryrefslogtreecommitdiff
path: root/Postman/Phpmailer
diff options
context:
space:
mode:
authoryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2020-01-13 06:59:45 +0000
committeryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2020-01-13 06:59:45 +0000
commit3686a6e1793a2c5af8b7ee4459e20887f08dc720 (patch)
tree88f1846b220499ca3fe9809064ba5e6070e642d9 /Postman/Phpmailer
parent2850339b7b0f53042c2f27e7802e273c36d1cef8 (diff)
downloadPost-SMTP-3686a6e1793a2c5af8b7ee4459e20887f08dc720.zip
* Fixed: Notify on error bug - crash site
* Fixed: From header
Diffstat (limited to 'Postman/Phpmailer')
-rw-r--r--Postman/Phpmailer/PostsmtpMailer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Postman/Phpmailer/PostsmtpMailer.php b/Postman/Phpmailer/PostsmtpMailer.php
index e52091d..838cdc5 100644
--- a/Postman/Phpmailer/PostsmtpMailer.php
+++ b/Postman/Phpmailer/PostsmtpMailer.php
@@ -39,7 +39,7 @@ class PostsmtpMailer extends PHPMailer {
public function hooks() {
if ( $this->options->getTransportType() == 'smtp' ) {
- add_action( 'phpmailer_init', array( $this, 'phpmailer_smtp_init' ) );
+ add_action( 'phpmailer_init', array( $this, 'phpmailer_smtp_init' ), 999 );
}
}