Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I wonder, why merchello sends email notifications only in CC?
For example , i use "Order Confirmation Message" where Email the customer field is checked.
When order is created email is sent to customer and admin in CC, but i'd like to add admins email in Bcc , not in CC
You can use the SmtpNotificationGatewayMethod.Sending event to alter the message to add the Bcc:
/// Occurs before sending the email message.
public static event TypedEventHandler<SmtpNotificationGatewayMethod, ObjectEventArgs<MailMessage>> Sending;
It exposes the entire MailMessage so that you can alter it before it is sent.
Thanks for your answer.
Is there any way to do this in 1.14.1 version?
I also wonder, how do i know admins("Send To" field) email? I am asking that, because Recipients is Collection of string. I checked PerformSend method, which contains both(admins and customers) emails. So system does not know which one is admins to add him in Bcc
Unfortunately, the event was added in 2.0.0.
The admins were intended to be added through the back office "Send To" field.
It can be setup to send two emails off the same trigger - one to the customer and a second to the admins (usually with additional information not sent to the customer).
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted