cancel
Showing results for 
Search instead for 
Did you mean: 

Ensuring no duplicate order emails are sent after data migration

Ensuring no duplicate order emails are sent after data migration

We have a Magento 2.2.0 shop that has had its data migrated from our previous 1.9.2.2 shop, but we're getting to the point of testing orders and email communications - we want to ensure that previous customers will not have duplicate order emails sent to them, how can we accomplish this (while leaving email communcations enabled for testing new orders), with cron jobs running in the background?

3 REPLIES 3

Re: Ensuring no duplicate order emails are sent after data migration

Hi @es11support,


In theory if a sales order was mark with email sent, that email shouldn't be sent again.

I didn't used it but maybe this module can help you: https://github.com/mageplaza/magento-2-smtp

Re: Ensuring no duplicate order emails are sent after data migration

We currently have the email disabled at the server level, but when we re-enable it, is there not a way within Magento to just not send email from cron jobs?

Re: Ensuring no duplicate order emails are sent after data migration

Hi @es11support,

 

I guess now I understand your question.

Maybe you got emails into the queue ready for send. Maybe you can truncate that table so the queue list will be empty.