I’m trying to figure out how to send an email to the customer after he has confirmed the subscription of the newsletter. I’ve set “Need to Confirm” to yes in System>configuration>customer>newsletter and magento uses email templates that I installed in app\locale\nl_NL\template\email. The confirmation email is send out in Dutch, however after I confirm the emailaddress no confirmation success email is send afterwards. Does anyone know what could be causing this?
The strange thing is; if I uncheck “Need to confirm”, the newsletter confirmation success email is sent. It looks like magento can send only one email?
Ok, I fixed it using a hack. For those of you interested:
- copy app/code/core/Mage/Newsletter/Model/Subscriber.php to app/code/local/Mage/Newsletter/Model
- find the function confirm($code) , which is at line 423
- under ->save(); , add: $this->sendConfirmationSuccessEmail();
If there is a way that doesn’t involve hacking the core, I’m really interested. Thanks!