summaryrefslogtreecommitdiff
path: root/Postman/Phpmailer/PostsmtpMailer.php
diff options
context:
space:
mode:
authoryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2020-01-20 21:09:16 +0000
committeryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2020-01-20 21:09:16 +0000
commit5e09c090a23853cf3f174b2f6459520668e0d039 (patch)
treed4d8bcc1f814aa54d759ebca3ac13fcb55589be6 /Postman/Phpmailer/PostsmtpMailer.php
parent8c9462e6ab86a80ad79ea478601a38c76915548e (diff)
downloadPost-SMTP-5e09c090a23853cf3f174b2f6459520668e0d039.zip
fix duplicate in sendgrid and duplicate failed log
Diffstat (limited to 'Postman/Phpmailer/PostsmtpMailer.php')
-rw-r--r--Postman/Phpmailer/PostsmtpMailer.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/Postman/Phpmailer/PostsmtpMailer.php b/Postman/Phpmailer/PostsmtpMailer.php
index c86a0a0..eb0246f 100644
--- a/Postman/Phpmailer/PostsmtpMailer.php
+++ b/Postman/Phpmailer/PostsmtpMailer.php
@@ -125,8 +125,6 @@ class PostsmtpMailer extends PHPMailer {
$this->mailHeader = '';
- do_action( 'post_smtp_on_failed', $log, $postmanMessage, $this->transcript, $transport, $exc->getMessage() );
-
$this->setError($exc->getMessage());
if ($this->exceptions) {
throw $exc;