You should be able to create an event handler for NotificationCenter.EmailTemplate.MailSending and check the event args Order property to see which products have been purchased and depending on the product, modify the event args MailMessage property to set the To address accordingly.
Use different reciving mail on product
Hi Is it possible to send the order email to different address, eks
Product 1 send the order mail to [email protected] Product 2 send the order mail to [email protected]
Best regards Claus Pihl
Hi Claus,
You should be able to create an event handler for
NotificationCenter.EmailTemplate.MailSending
and check the event argsOrder
property to see which products have been purchased and depending on the product, modify the event argsMailMessage
property to set theTo
address accordingly.Hope this helps
Matt
is working on a reply...