We installed newsletter pop up extension which was working fine. But after some days we saw newsletter emails are not working.We tried many solutions, Check Magento newsletter setting and also check cronjob code. But no luck. Then we have tried to uninstall recently installed extensions on the server then we found MailChimp and Newsletter POP extension are conflicting with each other.
If you have a facing same problem then you can apply the following solution
1. First, check cronjob properly set or not.
sudo crontab -e */5 * * * * /path/to/php -f /path/to/cron.php
2. This solution we found on ebizmarts forum.
Comment out line 118 of app/code/community/Ebizmarts/MailChimp/Model/Observer.php
//$subscriber->setImportMode(true); //commented out to enable Magento to send emails
In app/code/community/Ebizmarts/MailChimp/Model/Subscriber.php
Rewrite the public function sendConfirmationSuccessEmail() on line 29 with the following code
public function sendConfirmationSuccessEmail(){ if (Mage::getStoreConfig(Ebizmarts_MailChimp_Model_Config::GENERAL_ACTIVE)) { /* commented out to enable Magento to send emails if (Mage::getStoreConfig(Ebizmarts_MailChimp_Model_Config::GENERAL_ACTIVE)) { return $this; } else { } else {*/ return parent::sendConfirmationSuccessEmail(); } /* } */ } }
Introduction In the world of web development, selecting the correct framework is critical. Laravel and…
Introduction By enabling containerization, Docker has transformed the way software is built, deployed, and managed.…
Introduction Speed and efficiency are critical in the ever-changing world of web development. Effective caching…
Introduction Git, a popular version control system in software development, enables developers to track changes,…
Introduction Are you tired of grappling with tangled changes and unfinished work while using Git?…
Introduction Version control is essential in software development because it ensures that changes to a…