Version: 2.7
Category: Output
Extended Category: Mail
Action Package: Standard Actions
Description
Send email with information about one or more session objects.
Parameter | Description | Example |
Mail To | [Mandatory] Email addresses to send email to (comma separated) or use SESSION(mail or other attribute) to insert an email address. | helpdesk@company.com |
Subject | [Optional] The subject line. Use SESSION(attribName) to insert attribute values. Use TODAY(HH:MM:DD) to insert a date in the subject line. | Alert |
Body | [Optional] The mail body. Use SESSION(attribName) to insert attribute values. Use TODAY(HH:MM:DD) to insert a date in the body. | User SESSION(samaccountname) is not able to login! |
File Attachment 1 | [Optional] Attach a file to mail. Leave blank to ignore. Supports SESSION(), but will only parse session attributes from the first session object if sending email to specific email addresses instead of one email per session object. | c:\1.txt |
File Attachment 2 | [Optional] Attach a file to mail. Leave blank to ignore. Supports SESSION(), but will only parse session attributes from the first session object if sending email to specific email addresses instead of one email per session object. | SESSION(attachment) |
File Attachment 3 | [Optional] Attach a file to mail. Leave blank to ignore. Supports SESSION(), but will only parse session attributes from the first session object if sending email to specific email addresses instead of one email per session object. | /var/log/messages |
File Attachment 4 | [Optional] Attach a file to mail. Leave blank to ignore. Supports SESSION(), but will only parse session attributes from the first session object if sending email to specific email addresses instead of one email per session object. | c:\4.txt |
Mime Type | [Optional] The mimetype, for HTML email use: “text/html; charset=iso-8859-1” Default is “text/plain; charset=iso-8859-1” | text/html; charset=iso-8859-1 |
Mail From Address | [Optional] If not using the default SMTP sender email address, enter a from email address. Use SESSION(attribName) to insert attribute values. If SESSION() is used for ‘Mail To’, the attribute for ‘Mail From Address’ will be read from each session object, otherwise the attribute for ‘Mail From Address’ will be read from the first session object. | noreply@company.local |
Mail From Name | [Optional] If not using the default SMTP sender email address, enter a name of the sender. Use SESSION(attribName) to insert attribute values. If SESSION() is used for ‘Mail To’, the attribute for ‘Mail From Name’ will be read from each session object, otherwise the attribute for ‘Mail From Name’ will be read from the first session object. | Helpdesk |
Error Attribute Name | [Optional] If sending mail fails, the error message will be placed in this attribute. If no error, the attribute will be created with no value. Leave blank to not create any error message attribute. | mailError |
Quit Action If One Object Fails | [Optional] If sending mail fails for one session object, the action will quit and fail (true) or continue with the remaining session objects (false). Default: false. | true |
Use Cases
Example 1: Notify users about group membership
A mail will be sent to the user with containing current group memberships.
Parameter | Value |
Mail To | SESSION(mail) |
Subject | Current Group Memberships |
Body | These are your current groups: <br> SESSION(memberOf) |
File Attachment 1 | [BLANK] |
File Attachment 2 | [BLANK] |
File Attachment 3 | [BLANK] |
File Attachment 4 | [BLANK] |
Mime Type | text/html; charset=iso-8859-1 |
Mail From Address | [BLANK] |
Mail From Name | [BLANK] |
Error Attribute Name | [BLANK] |
Quit Action If One Object Fails | [BLANK] |
DISCLAIMER
Information provided in this document is for your information only. PhenixID makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.The origin of this information may be internal or external to PhenixID. PhenixID makes all reasonable efforts to verify this information.
PhenixID - support.phenixid.se