Copied to clipboard

Flag this post as spam?

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


  • Bex 444 posts 555 karma points
    Jan 23, 2012 @ 12:01
    Bex
    0

    Admin Email Questions

    Hi 

    I have a few questions regarding the emails sent to the admin/shop owner.


    1. Is it correct that emails can only be set to send to admins using the cc or bcc on the customer confirmation emails? Or is there a specific admin email setting as I can't find it?

    2. Is there an event can I hook into to stop this admin email being send out for specific orders? 

     

    Becky

  • Rune Grønkjær 1372 posts 3103 karma points
    Jan 24, 2012 @ 13:25
    Rune Grønkjær
    0

    Hi Becky,

    1. The admins will get the mail by the bcc parameter. Theres no fancy stuff :)

    2. Yes, you can hook into WebshopEvents.BeforeOrderConfirmationMailSend, where you have access to the mail object. You can then destroy it in any way you like. It will still try to send it by smtp though, so you have to maybe remove the recievers.

    /Rune

Please Sign in or register to post replies

Write your reply to:

Draft