Business Integration Solutions Documentation
About: SMTPWRITER Endpoint
In Business Integration Solutions, use the SMTPWRITER endpoint to write messages to an SMTP server.
Usage
Use this endpoint to send your notification messages using Simple Mail Transfer Protocol, to a mail server for relaying.
Concept
To be able to relay your notification messages you must provide details of SMTP Server and SMTP Port. If you choose Basic authentication type, then you can also provide the user credentials. You must select Secure Connection, in case your SMTP mail server setup requires a secure connection (such as SSL connection).
This endpoint is especially used with the following activities:
- XML To HTML Translator Activity: Using this activity you can provide messages in HTML or Plain Text format.
- Attachment Generator Activity: Using this activity you can attach standard Microsoft Dynamics BC reports in PDF, Microsoft Word or Microsoft Excel formats.
An SMTP server must be configured and the server administrator must make sure that the client can use the server. In order to test or demo e-mails using SMTP, you can use the Papercut tool which acts as a virtual SMTP server.
[Microsoft Dynamics NAV] ➡️ [<Event>] ➡️ [<Activities>] ➡️ [SMTP Writer]
The SMTP Writer endpoint is deprecated and is being replaced by the emailwriter please refer How to: Setup Email Writer Endpoint