summaryrefslogtreecommitdiff
path: root/Postman/Phpmailer
diff options
context:
space:
mode:
authoryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2020-01-21 20:14:23 +0000
committeryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2020-01-21 20:14:23 +0000
commit5ca998ddd8427110b1b7eec3261c5ccf3a94fb12 (patch)
treecf87e83bacdca37418a0a2036b8da320b4b3a180 /Postman/Phpmailer
parent5e09c090a23853cf3f174b2f6459520668e0d039 (diff)
downloadPost-SMTP-5ca998ddd8427110b1b7eec3261c5ccf3a94fb12.zip
fix post_id wp_error convert and duplicate emails
Diffstat (limited to 'Postman/Phpmailer')
-rw-r--r--Postman/Phpmailer/PostsmtpMailer.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Postman/Phpmailer/PostsmtpMailer.php b/Postman/Phpmailer/PostsmtpMailer.php
index eb0246f..c7587bb 100644
--- a/Postman/Phpmailer/PostsmtpMailer.php
+++ b/Postman/Phpmailer/PostsmtpMailer.php
@@ -47,6 +47,7 @@ class PostsmtpMailer extends PHPMailer {
}
public function get_mail_args( $atts ) {
+ $this->mail_args = array();
$this->mail_args[] = $atts['to'];
$this->mail_args[] = $atts['subject'];
$this->mail_args[] = $atts['message'];