/ Published in: PHP
/app/code/core/Mage/Newsletter/Model/Subscriber.php
$this->sendConfirmationSuccessEmail();
$this->sendConfirmationSuccessEmail();
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public function confirm($code) { if($this->getCode()==$code) { $this->setStatus(self::STATUS_SUBSCRIBED) ->setIsStatusChanged(true) ->save(); $this->sendConfirmationSuccessEmail(); return true; } return false; }
URL: http://www.magentocommerce.com/boards/viewthread/48670/