We have an issue with the order placed sending twice as well as the order complete. We were wondering if anyone could help us out on why this might be? We stepped through the code and shows only sending once as well as looking in the admin where it shows sending to the customer only once but actually showing up in their mailbox twice.
Please follow the next steps: 1. Go to backend > system > message queue. 2. Find a sent email 3. Go to its details (click 'edit' link) 4. What value do you see in 'Send attempts' textbox?
I think we may have done it. We are developing in Visual Studio 2008 on our local machines and pushing out versions for testing on a live server. We think it may be something with Visual studio. Most of the emails say 1 attempt. We switched databases before I could answer this question for sure. The issue occurred only on our local shared database and worked fine on the live test server. So this my be something to lookout for for others.
we are having the same problem, except messages are sending 3-6 times each!!
I checked and the Send attempts field says 1. We are running on a shared web host.
Our customers are getting really upset about receiving so many duplicate emails. Is there any solution to this?
I don't understand how it is possible. I looked at the code and it marks an email as sent as soon as it gets sent successfully, so I don't understand how the system can send it multiple times.
Hi, thanks for the post. What do you mean by "email sending service?" What is it and how did you discover it was sending twice (how did you diagnose the problem)?
Basically, I had set up a production and test instance for my client, and both these were running, and pointing to the same database!
What I didn't realise was that emails were not sent directly when you performed an action on the shop, instead they were queued for sending later.
So, when I sent a message through the website it was queued and the message was then sent by both the test shop and the production shop.
When the shop went live, I didn't shut down the "test" instance, therefore duplicate messages were sent. To resolve this, just make sure you only ever have one instance of an nopCommerce shop pointing to a single database.
Please follow the next steps: 1. Go to backend > system > message queue. 2. Find a sent email 3. Go to its details (click 'edit' link) 4. What value do you see in 'Send attempts' textbox?
It says 5 . 5 send attempts. and email delivering takes at least 10-15 min. and sometime i gets more than 3 emails for a order.?? please advice