Copied to clipboard

Flag this post as spam?

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


  • Peter 89 posts 160 karma points
    Nov 04, 2012 @ 22:17
    Peter
    0

    Sending Comformation Emails from .NET

    So the order has been completed and i mark it as finalised so i'm hoping that the xslt email I have in the CMS will fire.

    But it doesn't. It doesn't on finialising and doesn't if i try to manually send from the CMS either.

    I looked at implementing OrderController_AfterOrderFinalized event and that doing something, but i am not sure what i am hoping for it to do ... that it isn't already doing?

    The web.config and umbraco.config both have details in, and the teacommerce section in the CMS has items selected, but i am a little stuck.

    Any directions how i debug this to then fix?

    ta!

     

  • Peter 89 posts 160 karma points
    Nov 04, 2012 @ 22:25
    Peter
    0

    i tried to edit, but it all failed. I have looked in the umbraco logs and nothing, :/

  • Rune Grønkjær 1372 posts 3103 karma points
    Nov 05, 2012 @ 08:15
    Rune Grønkjær
    0

    Hi Peter,

    Can you send other mails from your website? Tea Commerce uses the default smtp settings from the web.config to send the mails. Are they working?

    We try catch all mails sent from Tea Commerce and logs any errors in the Umbraco log. So if you can find nothing in the log, Tea Commerce at least believes the mails to be sent successfully.

    Spam folder maybe?

    /Rune

  • Peter 89 posts 160 karma points
    Nov 05, 2012 @ 10:49
    Peter
    0

    I haven't tried sending an email myself yet and should have - been avoiding it. I'll have a look and get back to you. thanks Rune.

     

     

  • Peter 89 posts 160 karma points
    Nov 06, 2012 @ 00:22
    Peter
    0

    Mail can be sent from the server. So, configuration of the smtp and server is ok. :/

    I think it might be best I make a custom mail which isn't ideal as I'll not have the triggering of email from the teacommcerce section - for other updates in teh order :(

    Any other simple ideas what could be wrong?

    P

  • Anders Burla 2560 posts 8256 karma points
    Nov 06, 2012 @ 08:40
    Anders Burla
    0

    Has the confirmation email template been configured at the "General settings" node?

    Kind regards
    Anders

  • Peter 89 posts 160 karma points
    Nov 06, 2012 @ 10:53
    Peter
    0

    Hey Anders, Yes, the email configuration has been. set :)

    If there was an XSLT problem, how would that be highlighted... my spidey senses say that's the problem. :/

  • Rune Grønkjær 1372 posts 3103 karma points
    Nov 06, 2012 @ 11:03
    Rune Grønkjær
    0

    An xslt error will still trigger the send of the mail. The mail would then contain the "Error reading XSLT file: \xslt\product_product.xslt " message.

    So that shouldn't be a problem either.

    /Rune

  • Anders Burla 2560 posts 8256 karma points
    Nov 06, 2012 @ 11:07
    Anders Burla
    0

    Try hook into the WebshopEvents.MailError - maybe this gives you an idea

    Kind regards
    Anders

Please Sign in or register to post replies

Write your reply to:

Draft