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;