Update 2018
Starting with Adaxes 2018.1 you can specify the date format when using value references. For details, have a look at section Format of date/time value references of the following help article: https://www.adaxes.com/help/ValueReferences/#format-of-date/time-value-references.
Original
Hello,
To achieve what you want, you'll need to send email messages with the help of a PowerShell script. For example, to get a date which is 7 days later than the current date in a full date format, you can call the following line:
[System.DateTime]::Now.AddDays(7).ToString("F")
For a full list of possible formats, see a description of the System.DateTime::ToString method available from Microsoft: https://msdn.microsoft.com/en-us/librar ... 10%29.aspx.
To send HTML-formatted emails from Business Rules, Custom Commands and Scheduled Tasks, you can use the $Context.SendMail method and pass the HTML-formatted message as the 4th parameter. For example:
$to = "recipient@example.com"
$subject = "HTML-Formatted Notification"
$targetDateString = [System.DateTime]::Now.AddDays(7).ToString("F")
$htmlText =
@"
<p>
The event you expect will occur on <b>$targetDateString</b>.
</p>
"@
$Context.SendMail($to, $subject, $NULL, $htmlText)
To add a script to a Business Rule, Custom Command or Scheduled Task, use the Run a program or PowerShell script action.