From ffbe945e7aa71ed2cb138ebd8ee87ea49e7ce1ac Mon Sep 17 00:00:00 2001 From: daoduc410 Date: Wed, 9 Aug 2017 13:36:40 +0700 Subject: [PATCH] Update Message.php update --- Plugin/Magento/Framework/Mail/Message.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Plugin/Magento/Framework/Mail/Message.php b/Plugin/Magento/Framework/Mail/Message.php index 4eecfcb..01b056a 100644 --- a/Plugin/Magento/Framework/Mail/Message.php +++ b/Plugin/Magento/Framework/Mail/Message.php @@ -51,6 +51,7 @@ public function __construct( */ public function afterSetBody(\Magento\Framework\Mail\Message $subject, $result) { + $this->registry->unregister('mageplaza_smtp_message'); $this->registry->register('mageplaza_smtp_message', $subject); return $result;