I apologize if this is the wrong way to ask this question. I don't have enough reputation points to ask in the original post. And I'm almost out of hair from trying to figure out this issue.
Magento 1.9.4
I'm still having the issue after following the SQL fix provided by César Revert-Gomar. New order email being sent twice
I did notice that he mentioned
The core_email_queue table is cleaned out as emails on the Magento Email Queue are sent. This cleaning is performed by a cron tab job called core_email_queue_clean_up, that's defined inside the app/code/core/Mage/Core/etc/config.xml config file. The code that performs the cleaning is defined on the removeSentMessages function in the Mage_Core_Model_Resource_Email_Queue class:
/** * Remove already sent messages * * @return Mage_Core_Model_Resource_Email_Queue */ public function removeSentMessages() { $this->_getWriteAdapter()->delete($this->getMainTable(), 'processed_at IS NOT NULL'); return $this; }
I do not have this code in that location. Could this be the issue? Any help in this matter would be greatly appreciated.
Customer A - Sales email 1. Order ID on Message Title 001 - Order ID in Receipt 001
Customer B - Sales email 2. Order ID on Message Title 001 - Order ID in Receipt 002
Customer B - Sales email 3. Order ID on Message Title 001 - Order ID in Receipt 002
Customer A is being CC'd both customer B's duplicate sales emails. Customer A gets 3 emails. 1 which is their correct order and 2 more because they are being CC'd to customer B's duplicates.
– Rudy C. Sep 15 '16 at 13:52