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?
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.
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
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
is working on a reply...