Differences

This shows you the differences between two versions of the page.

Link to this comparison view

mos:evacsemail [2024/09/19 22:22] (current)
optrix created
Line 1: Line 1:
 +====Azure Communication Services====
  
 +The ACS Email output module allows you to write an email in response to an event, which is sent through Azure Communication Services Email.
 +
 +This helps get around some common security issues trying to send SMTP email in the modern era, where password policies and two-factor authentication make it difficult to send messages from automated systems and appliances.
 +
 +^Parameter^Default^Meaning^
 +|**constring**||The ACS Email Connection String|
 +|**domain**||The sending (from) email domain|
 +|**to**||The address to send the message to|
 +|**subject**|%M|The subject line of the email, with [[event codes|event substitutions]]|
 +|**content**|%M|The content of the email message, with [[event codes|event substitutions]]|
 +|**timezone**|UTC|The timezone to write times in|
 +
 +===Example===
 +
 +<code>
 +[
 +   {
 + "type": "event",
 + "method": "acemail",
 + "timezone": "Australia/Sydney",
 + "constring": "<connection string>",
 + "domain": "<azure email domain>",   
 + "to": "<to address>",   
 + "subject": "An Event Happened",
 + "content": "An %M happened today at %S"
 +   }
 +]
 +</code>
 +
 +//The above example would send an email with the subject 'An Event Happened' and the content of the log message..//
 +
 +===Performance/Spam Warning===
 +
 +Like all of the [[announcement|announcement modules]], this module may take some time to execute and will block the process in the mean-time. 
 +
 +===Other Modules===
 +
 +Return to the [[event_methods|list of output modules]].