0 votes

is it possible to send a mail in HTML format?. such a welcome email after creating a user.

by (360 points)

1 Answer

0 votes
by (18.0k points)

Hello,

You can send email notifications in HTML format with the help of a PowerShell script.

Use the Run a program or PowerShell script action instead of the Send e-mail notificaion action.

Here is an example of a PowerShell script that sends e-mail notifications:

$toAddress = "%mail%"
$subject = "Hello, %username%"
$bodyText = $Null
$bodyHtml = "<b>Dear %fullname%</b>"
$Context.SendMail($toAddress, $subject, $bodyText, $bodyHtml)

Related questions

0 votes
1 answer

Hello everyone, I've received a task to send a report of pending and denied approval requests of a specific task to an email of one of our managers. Since ... $report = $reportHeader + $reportFooter # Send Mail $Context.SendMail($to, $subject, $NULL, $report)

asked Apr 7, 2020 by rshergh (110 points)
0 votes
1 answer

Hi, we are using a scheduled job in Adaxes to notify users that their password will expire in x days. Now, we as IT were approached by Marketing to set up all ... ;/div&gt; &lt;/body&gt; &lt;/html&gt; Your help would be highly appreciated kind regards Ingemar

asked Mar 2, 2015 by ijacob (960 points)
0 votes
1 answer

Hello, you helped us with a script to set the oof-message. Now we want to know, if it's possible to activate/deactivate the mail-forwarding option time-based. In the ... deactivate it accordingly on "param-abw-ende" Can you help me with that? Thanks Carsten

asked Nov 17, 2022 by lohnag (160 points)
0 votes
1 answer

Good Day I've found what i want and is this Scripts Repository https://www.adaxes.com/script-repository/output-the-last-time-a-distribution-list-received-mail-s122.htm. Is ... in to a Report with the addition to add one more then one Distribution? Thank you

asked May 11, 2022 by Sandberg94 (340 points)
0 votes
1 answer

I am trying to find a way to get an hourly report on locked out user accounts to only be sent if the total amout of locked out account exceeds 10 users. Is this possible in ... a way to setup the logic to check to see how many items are returned in a report.

asked Jun 12 by Vertigo (50 points)
3,588 questions
3,277 answers
8,303 comments
548,091 users