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

I would like to configure a scheduled report to send to a mail contact object. However, these mail contact objects are not showing up when I try to set them as the recipients. Is this possible or is there another way to go about this?

asked Jun 19 by scoutcor (180 points)
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

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, 2024 by Vertigo (50 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)
3,731 questions
3,409 answers
8,625 comments
550,196 users