summaryrefslogtreecommitdiff
path: root/Postman/Phpmailer/PostsmtpMailer.php
diff options
context:
space:
mode:
Diffstat (limited to 'Postman/Phpmailer/PostsmtpMailer.php')
-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 );
}
}