An error occurred while sending the e-mail to the customer
Whenever I update the order status and TB should send a email i get an error message " An error occurred while sending the e-mail to the customer"
If i go into the test your email configuration and send a test email the email is sent and arrives at the test account ok, but no emails are being sent from the order statuses. I know it is not a problem with the email addresses as i created a test order and it still did not work sending the order statuses or when i click resend email.
Nothing shows in the TB log so i don’t know what is causing the error.
Check the server logs, it should tell you what the error is. I am betting it is template specific.
Ok an update to this problem, if i set email to use the php mail function the order status emails go through, but yet it i enable SMTP they don’t get sent and i get the error, But the test email does work on SMTP.
I really want to be able to use SMTP emails though as emails sent through php mail get marked as SPAM so my customers won’t be able to see them.
Mail ones are hard to diagnose. There is something in some mail log telling why the mail is not sent though. It could be in the server error log or the server mail log. I would start with those.
My server is centos 7 and i have looked in mail and messages logs and don’t see any error message relating to this problem. I am stumped, it hard to understand why the test email works but order messages don’t only when SMTP is enabled.