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

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)
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

We have a 3rd party vendor that we are able to add users based on AD security groups. What I need to do is set a parameter for the number of available licenses and whenever ... the group is 495 I would like an email to trigger telling me to add more licenses.

asked Oct 12, 2022 by A_Pastor (70 points)
3,542 questions
3,233 answers
8,227 comments
547,808 users