At random times, magento sends order emails to random customers who had nothing to do with that order. The order placed by the customer id 1 for example can get also sent to the customer with id 20 and/or id 12 without any particular criterion being applied or any reason for it.

I do not know of the problem and so my question is rather vague, but the conclusion of an order magento correctly sends the confirmation reception order, but sends it to casual users registered on the site. What are the files that manage the sending of these emails?

closed as off-topic by Marius Jul 16 '15 at 7:55

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced OR seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Marius
If this question can be reworded to fit the rules in the help center, please edit the question.