0 votes

Is it possible to have an email notification sent to somebody and to CC in somebody else?

by (400 points)

1 Answer

0 votes
by (216k points)
selected by
Best answer

Hello,

You can do that using scripts and the Send-MailMessage cmdlet. Example:

$to = "%mail%" # TODO: modify me
$cc = "%adm-ManagerEmail%" # TODO: modify me
$subject = "My Notification'" # TODO: modify me
$smtpServer = "mail.domain.com" # TODO: modify me
$from = "noreply@domain.com" # TODO: modify me
$body = @"
Hello %name%,

Please review your pending Approval Requests ASAP.
Do not reply to this e-mail, it has been sent to you for notification purposes only.
"@ # TODO: modify me

Send-MailMessage -To $to -cc $cc -from $from -SmtpServer $smtpServer -Subject $subject -Body $body

To add a script to Business Rules, Custom Commands and Scheduled Tasks, use the Run a program or PowerShell script action.

Related questions

+1 vote
1 answer

Hi, Is there any mechanism to add an approval reason to the approval emails? I tried to add a property value (customattributetext1) to the email header but couldn ... " using powershell just before each approval request in the business rule. Much appreciated.

asked Feb 17, 2015 by bistromath (840 points)
0 votes
1 answer

The HTML email editor does not like when you use embedded style sheets with relative heights (percentages). It's looking for %variablenames%, not fancy email templates. Example: ... padding:0; width:100% !important; Is there a way to escape these characters?

asked Jan 26, 2015 by polley (1.2k points)
0 votes
1 answer

I have people stating they never received the approval notifications. I know how to add multiple approvers to a Send for Approval command, but that sends a email to a second " ... do I send a duplicate email or CC another user on ALL outbound emails? Thanks!

asked Oct 24, 2012 by mpaul (360 points)
0 votes
1 answer

Is it possible to change the date format in the email notifications sent from Adaxes from e.g. 01/01/2020 to 01 January 2020?

asked Jun 15, 2020 by peggleg (110 points)
0 votes
1 answer

Hello Everyone, I've been using the product for the past handful of months and it has completely changed self service and administration here at my company. I can't ... Can this notification be separated into two direct emails based on what their action was?

asked Apr 29, 2015 by strikk (360 points)
3,346 questions
3,047 answers
7,782 comments
544,982 users