Skip to content

Commit 7b88103

Browse files
author
Rhodri Davies
committed
MAGETWO-84525 Send newsletter subscription success email after confirmation (issue #12439)
1 parent aa950c8 commit 7b88103

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/Newsletter/Model/Subscriber.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,8 @@ public function confirm($code)
621621
$this->setStatus(self::STATUS_SUBSCRIBED)
622622
->setStatusChanged(true)
623623
->save();
624+
625+
$this->sendConfirmationSuccessEmail();
624626
return true;
625627
}
626628

0 commit comments

Comments
 (0)