From 5ca998ddd8427110b1b7eec3261c5ccf3a94fb12 Mon Sep 17 00:00:00 2001 From: yehudah Date: Tue, 21 Jan 2020 20:14:23 +0000 Subject: fix post_id wp_error convert and duplicate emails --- Postman/Phpmailer/PostsmtpMailer.php | 1 + 1 file changed, 1 insertion(+) (limited to 'Postman/Phpmailer/PostsmtpMailer.php') 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']; -- cgit v1.2.3