We have a bit of a wierd bug, we can out the "order confirmed" mail but not the "package has shipped".
The only difference between these 2 is ofc the template and that "order confirmed" has the field "Send email to customer" crossed of.
When i look in the log files it says, and the email field is the default named "email" and i can see that there is an email on the order inside the db. :
2014-06-12 17:55:01,859 [6] INFO umbraco.BusinessLogic.Log - [Thread 12] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: -1 | Comment: Error sending email using the email template: Ordre afsendt email for order 23b9cf61-0fd2-44f0-ad3a-738056bb0837 - Exception: System.InvalidOperationException: A recipient must be specified.
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at TeaCommerce.Api.Models.EmailTemplate.Send(Order order)
If you at the "package has shipped" dont have ticked off "Send email to customer" - do you then have any CC or BCC on the template? Else the email wont have any recievers. So you should of course tick off "Send email to customer" if you want the customer to get an email.
I got confused, about the "confirmation mail" setting and "send to customer", thought that "send to customer" would be send when an order was placed. So i thought the scenario would be that 2 mails got shipped when an order was placed.
A recipient must be specified bug
Hey there
We have a bit of a wierd bug, we can out the "order confirmed" mail but not the "package has shipped".
The only difference between these 2 is ofc the template and that "order confirmed" has the field "Send email to customer" crossed of.
When i look in the log files it says, and the email field is the default named "email" and i can see that there is an email on the order inside the db. :
2014-06-12 17:55:01,859 [6] INFO umbraco.BusinessLogic.Log - [Thread 12] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: -1 | Comment: Error sending email using the email template: Ordre afsendt email for order 23b9cf61-0fd2-44f0-ad3a-738056bb0837 - Exception: System.InvalidOperationException: A recipient must be specified.
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at TeaCommerce.Api.Models.EmailTemplate.Send(Order order)
Hi Rasmus
If you at the "package has shipped" dont have ticked off "Send email to customer" - do you then have any CC or BCC on the template? Else the email wont have any recievers. So you should of course tick off "Send email to customer" if you want the customer to get an email.
Kind regards
Anders
Arh thx Anders
I got confused, about the "confirmation mail" setting and "send to customer", thought that "send to customer" would be send when an order was placed. So i thought the scenario would be that 2 mails got shipped when an order was placed.
It works now and the solution is live, another Teacommerce site live, http://www.slagtertheilgaard.dk/.
is working on a reply...