Email Setup
Further information:
- Set up email in Business Central (includes a video) - Business Central | Microsoft Learn
- Send documents and emails - Business Central | Microsoft Learn
Functional Description
Automatic email sending is handled via the BE-Fashion module in Microsoft Dynamics 365 Business Central. When an invoice or credit memo is posted, an email document entry is generated. This is then sent automatically in a separate process. The customer card must specify whether documents should be sent by email. Note: Default texts for invoices and credit memos can be stored centrally in the Fashion setup. For test purposes, a test email address must be configured.
Setup
Basic steps:
- Set up report selection (MS standard)
- Define the reports to be used (e.g. sales invoices).
- Set up custom report layouts (MS standard)
- Define the layout for the email body.
- Configure the mail account + scenario (MS standard)
- Example: a shared mailbox such as invoice@be-terna.com as sender.
- Set up the type of document sending on the customer (FN standard)
- Controls whether documents are sent by email, print, or EDI.
- Set up the job queue (FN standard)
- Automatic sending of the email document entries.
Control via “Invoice Sending Method”
The customer card has the field “Invoice Sending Method” (similarly for credit memos).
- Selecting “Mail” creates an email document entry when posting.
- Sending does not happen immediately, but only via the job queue.
- The email address stored in the customer’s “Send To” field is used as the recipient.
Note: If document send profiles are also set up, this can result in duplicate sending, since both functions work in parallel.
Difference: Document Send Profiles vs. Fashion Solution
| Document Send Profiles (BC Standard) | Fashion Solution (FN) |
|---|---|
| The user must manually click “Send by Mail”. | Sending happens automatically via the job queue. |
| Sent emails appear in the email outbox. | Email document entries are processed automatically. |
| No automatic control via “Invoice Sending Method”. | The “Invoice Sending Method”/“Credit Memo Sending Method” field controls the process. |
Recommendation:
- Invoices and credit memos can be sent automatically via the Fashion solution.
- For other documents (e.g. order confirmations), the document send profile can be used.
Technical Details
- The job queue CU 5079207 “BET FN Email Document Mgt.” must be active.
- Email accounts and email scenarios must be set up correctly.
- Custom report layouts can be used for the email body.
- For test mailings, your own email address should be stored on the customer card to avoid unintended customer emails.
Process Overview
- The customer has the field “Invoice Sending Method” = Mail.
- When the invoice is posted, an email document entry is created.
- The job queue processes the open entries.
- The email is sent to the address stored on the customer.
- Logging happens depending on configuration (email outbox / job queue log).
Best Practices
- Avoid duplicate sending: do not use document send profiles and “Invoice Sending Method” actively at the same time.
- Test: work with test email addresses before going live.
- Fallback: if the job queue is inactive, emails are not sent automatically.