You just need to apply this below changes on this path :-
Magento\Newsletter\Model\Subscriber.php
public function confirm($code) {
if ($this->getCode() == $code) {
$this->setStatus(self::STATUS_SUBSCRIBED) ->setStatusChanged(true) ->save();
$this-> sendConfirmationSuccessEmail>sendConfirmationSuccessEmail();
return true;
}
return false;
}
Clear cache and check your output.
You just need to apply this below changes on this path :-
Magento\Newsletter\Model\Subscriber.php
public function confirm($code) {
if ($this->getCode() == $code) {
$this->setStatus(self::STATUS_SUBSCRIBED) ->setStatusChanged(true) ->save();
$this-> sendConfirmationSuccessEmail();
return true;
}
return false;
}
Clear cache and check your output.
You just need to apply this below changes on this path :-
Magento\Newsletter\Model\Subscriber.php
public function confirm($code) {
if ($this->getCode() == $code) {
$this->setStatus(self::STATUS_SUBSCRIBED) ->setStatusChanged(true) ->save();
$this->sendConfirmationSuccessEmail();
return true;
}
return false;
}
Clear cache and check your output.