Posted By

nico65 on 08/18/09


Tagged

magento Double-Opt-In


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

umang_nine


magento Double-Opt-In sign in newsletter


 / Published in: PHP
 

URL: http://www.magentocommerce.com/boards/viewthread/48670/

/app/code/core/Mage/Newsletter/Model/Subscriber.php $this->sendConfirmationSuccessEmail();

  1. public function confirm($code)
  2. {
  3. if($this->getCode()==$code) {
  4. $this->setStatus(self::STATUS_SUBSCRIBED)
  5. ->setIsStatusChanged(true)
  6. ->save();
  7.  
  8. $this->sendConfirmationSuccessEmail();
  9. return true;
  10. }
  11.  
  12. return false;
  13. }

Report this snippet  

You need to login to post a comment.