CC admin email

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

Is only one BCC available or can more be enabled?
13 anni tempo fa
You can specify a ;-separated list of emails
13 anni tempo fa
Thanks
7 anni tempo fa
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 anni tempo fa
[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 anni tempo fa
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 anni tempo fa
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.