Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rasmus Fjord 675 posts 1566 karma points c-trib
    Jun 12, 2014 @ 18:12
    Rasmus Fjord
    0

    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)

  • Anders Burla 2560 posts 8256 karma points
    Jun 16, 2014 @ 08:44
    Anders Burla
    0

    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

  • Rasmus Fjord 675 posts 1566 karma points c-trib
    Jun 16, 2014 @ 09:36
    Rasmus Fjord
    0

    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/.

     

Please Sign in or register to post replies

Write your reply to:

Draft