This Output Action sends the generated document via e-mail.
Parameters
The parameter names of the Output Actions are not case-sensitive. All parameter names may contain data fields (exceptions are described in the relevant parameters).
Example: FileName = "Application_<%Citizen.Name%>.pdf"
Note
To use an alias with an email address, use this syntax:
MyCompany Sales {sales@mycompany.com}
The syntax
MyCompany Sales <sales@mycompany.com>
would work as well, but might cause an error if used with the REST Service.
Parameter | Requirement | Description |
---|---|---|
Mode | optional | Allows to configure whether the generated document should be used as the body of a txt or html e-mail or attached to the e-mail. Possible Values:
Use |
| mandatory, if | Defines the name of the document, which will be attached. The extension will define the file format (.docx, .xlsx, .pptx, .pdf, .html, …). |
| optional | Specifies a special format (dox42 Server For Documents only):
|
| optional | The format PDF may bear a digital signature (dox42 Server For Documents only). Certificate and corresponding password have to be defined in the web.config file. Value: |
| mandatory | Specifies the e-mail address of the receiver. Multiple e-mail addresses need to be separated with a comma or semicolon. |
| optional | Specifies the e-mail address of carbon copy receiver. Multiple e-mail addresses need to be separated with a comma or semicolon. |
| optional | Specifies the e-mail address of blind carbon copy receiver. Multiple e-mail addresses need to be separated with a comma or semicolon. |
| optional | Specifies the e-mail address of the sender. If not specified, the address stated in the web.config file will be used. |
| optional | May be specified along with Sender if a different login for the mail server is required. |
| mandatory, if Sender or | Specifies the password for the sender’s email account or MailServerUsername on the e-mail server, configured in the web.config file. |
| mandatory | Specifies the e-mail subject. |
| optional | Specifies the e-mail text ( |
| optional | Send the e-mail text as HTML ( |
| optional | Specifies the dox42 Word template to generate the e-mail body. The template must use the same data map as the attachment. ( |
| optional (or use | Allows sending for static attachments and provides the document’s path. It is possible to send any number of attachments, like: Example: |
| optional (or use | Allows sending for Base64 encoded attachments. It is possible to send any number of attachments, like: |
| mandatory, if | Specifies the name of a Base64 encoded attachment. Example: |
| optional | Specifies a different mail server than configured in your web.config file. |
| optional | Changes the SMTP mail server port. You may want to use the standard ports 25 or 587. |
| optional | Values: |
| mandatory if | Specifies the file path to save the sent e-mail as msg file. Example: |
| optional | Values:
When using save, SaveMSGFile must be specified. |
| optional | Specfies a a specific method to send your dox42 e-mails. Possible values:
When adding the |
| optional | Specifies the application ID of the app registration that has the necessary API permissions configured to send e-mails via Exchange Online (can be configured in the web.config file or dox42 MAUI as well). |
| optional | Specifies the tenant ID in which the above app registration is configured to send e-mails via Exchange Online (can be configured in the web.config file or dox42 Management UI (MAUI) as well). |
| optional | Specifies the client secret that is associated with the App ID to send e-mails via Exchange Online vcan be configured in the web.config file or dox42 Management UI (MAUI) as well). |
| optional | Comes with the default value |
| optional | If |