CC admin email

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 13 años
Hi, I would like the purchase order email to go to more than one recipient e.g. Sales and Accounts. Is this possible?
Hace 13 años
Go to Admin area > Content Management > Templates > Message templates, then go to required message template details (click 'Edit' link) and set 'BCC' property
Hace 13 años
Thanks Andrei,

Is only one BCC available or can more be enabled?
Hace 13 años
You can specify a ;-separated list of emails
Hace 13 años
Thanks
Hace 7 años
I am trying to add a bcc as
%Store.Email%
instead of a hard coded email address.
but this is not working.

Please help
Hace 7 años
[email protected] wrote:
I am trying to add a bcc as
%Store.Email%
instead of a hard coded email address.
but this is not working.

Please help


You can't use tokens in BCC field.
Hace 7 años
thanks for the reply.
found a way though

Libraries\Nop.Services\Messages\EmailSender.cs
added the following

message.Bcc.Add(_storeContext.CurrentStore.Email) in the SendEmail method
Hace 7 años
hi marian,

found a way to use tokens in bcc

File : Libraries\Nop.Services\Messages\WorkflowMessageService.cs
Method: SendNotification

bcc = messageTemplate.GetLocalized(mt => mt.BccEmailAddresses, languageId);
if (bcc.IndexOf("%") > -1)
{
    bcc = _tokenizer.Replace(bcc, tokens, true);
}
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.