Copied to clipboard

Flag this post as spam?

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


  • Tomasz Kowalski 135 posts 445 karma points
    Feb 12, 2014 @ 14:32
    Tomasz Kowalski
    0

    How to cancel sending confirmation email

    Hi,

    Umbraco 6.1.6, TC 2.2.2

    Is it possible to cancel sending confirmation mail to customer? In TeaCommerce settings, in Confirmation mail "send email to customer" is checked. And I would have it this way. But customer can self decide not to receive confirmation mail (I save this in Order properties).

    I have tried to use NotificationCenter.EmailTemplate.MailSending event, but I'm not sure if I can do this here.

    Kind regards

    Thomas

  • Rune Grønkjær 1371 posts 3102 karma points
    Feb 13, 2014 @ 10:32
    Rune Grønkjær
    100

    Hi Thomas,

    You can just remove the users e-mail from the mail message in the MailSending event. That would do the trick.

    /Rune

  • Tomasz Kowalski 135 posts 445 karma points
    Feb 13, 2014 @ 10:59
    Tomasz Kowalski
    0

    Hi Rune,

    And I have solved that this way. I thought that there is maybe some other way :)

    Thanks
    /Thomas

  • Rune Grønkjær 1371 posts 3102 karma points
    Feb 17, 2014 @ 08:42
    Rune Grønkjær
    0

    No magic. Just regular .NET :)

    /Rune

Please Sign in or register to post replies

Write your reply to:

Draft