CC admin email

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

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

Please help
7 Jahre weitere
[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.
7 Jahre weitere
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
7 Jahre weitere
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.