--- title: "SMTPWRITER endpoint" slug: "bc-smtpwriter-endpoint" tags: ["BC", "BIS", "Business Central", "Business Integration Solutions", "Concept", "Task"] updated: 2026-06-25T09:59:07Z published: 2026-06-25T09:59:07Z canonical: "docs.staedean.com/bc-smtpwriter-endpoint" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # SMTPWRITER endpoint > [!WARNING] > The **SMTP Writer** endpoint is deprecated. The **Email Writer endpoint** replaces it. See: [Email Writer endpoint](/business-central/docs/bc-emai-writer-endpoint). In Business Integration Solutions, use the **SMTPWRITER** endpoint to write messages to an SMTP server. ## Usage Use this endpoint to send notification messages using Simple Mail Transfer Protocol to a mail server for relaying. ## Concept To relay your notification messages, provide the SMTP server details and SMTP port. If you choose the Basic authentication type, you can also provide user credentials. Select **Secure Connection** if your SMTP mail server requires a secure connection such as SSL. This endpoint works best with the following activities: - **XML To HTML Translator** activity: Provides messages in HTML or plain text format. - **Attachment Generator** activity: Attaches standard Microsoft Dynamics 365 Business Central reports in PDF, Microsoft Word, or Microsoft Excel formats. > [!NOTE] > **Note** > > An SMTP server must be configured and the server administrator must ensure that the client can use the server. To test or demo emails using SMTP, you can use the Papercut tool, which acts as a virtual SMTP server. [Microsoft Microsoft Dynamics 365 Business Central] ➡️ [] ➡️ [] ➡️ [SMTP Writer] ## Related - [EMAILWRITER endpoint](/bc-emai-writer-endpoint.md) - [Set up the SMTP Writer endpoint](/bc-set-up-the-smtp-writer-endpoint.md)