CC admin email

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

Is only one BCC available or can more be enabled?
13 лет назад
You can specify a ;-separated list of emails
13 лет назад
Thanks
7 лет назад
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 лет назад
[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 лет назад
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 лет назад
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.