Email Attachments

How to attach your own files, such as your hire terms and conditions, to rental emails automatically. It also shows how to set up the message, and how to check the email before you send it.


What gets sent with the email

When you email a rental document, Business Central can attach your own files as well as the document. For example, every rental quote can go out with your hire terms and conditions, and nobody has to remember to attach them.

You set this up with an email scenario, Business Central's name for a kind of email. Each rental document you can email has its own, such as Rental Quote. Add a file to the scenario, then tick Attach by Default so that it is attached automatically.

The message and the document's own PDF are set up somewhere else, on the Report Selections - Rental page. This guide covers both, so the customer gets a message, the document and your file.

The example on this page

The example uses the demo company CRONUS International Ltd. Adatum Corporation (customer 10000) has asked for a quote to hire a 1.5 tonne mini excavator from 07/09/2032 to 30/09/2032. The quote is QUOT00030. You want every rental quote, starting with this one, to go out with Hire terms and conditions.pdf.

Which route do I use?

Your situation and where to go
You want a file to go out with every email for a document
The email opens with no message
You want to check what the customer will get
You only want to add the file to some emails

Add the file and attach it by default

When you'd use this. You want a file to go out with every email for a rental document: here, the hire terms with every rental quote. Have the finished file ready. You need to be able to manage Business Central's email setup. If Add file to scenario is not available, ask your administrator.

1
Open Email Scenario Attachments and choose Add file to scenario

Search for Email Scenario Attachments and open it. Choose New, then Add file to scenario.

Screenshot of the Email Scenario Attachments list before any files are added. It has the columns File Name, Attach by Default and Email Scenario. The New menu, outlined, is open. Marker 1 is on Add file to scenario, its only choice, which is outlined. 1
The Email Scenario Attachments list, with New open and Add file to scenario in the menu.
2
Select the document, then upload the file

Business Central lists the email scenarios. Select the Rental Quote row and choose OK. When it asks for the file, choose Hire terms and conditions.pdf.

Screenshot of the Email Scenarios for Account list. The rental document scenarios shown are Rental Credit Memo, Rental Invoice, Rental Order, Rental Pro Forma, Rental Quote, Rental Return and Rental Shipment. Marker 2 is on the Rental Quote row, which is selected and outlined. OK is outlined. 2
The list of email scenarios, with Rental Quote selected.
3
Choose Edit List

The file is now in the list, but Attach by Default is off. Choose Edit List once. The list opens ready to change. Choosing Edit List again there turns editing off.

If the file appears as a tile with no tick box, choose the layout icon at the top right, then List.

4
Tick Attach by Default

Tick Attach by Default on the row for the file. This is what attaches it to every rental quote email. When the page says Saved, choose the back arrow.

Screenshot of Email Scenario Attachments being edited in List view. Edit List, outlined, is on and the page says Saved. The row for Hire terms and conditions.pdf has Email Scenario Rental Quote. Marker 4 is on its Attach by Default box, which is ticked and outlined. 4
Attach by Default is ticked for Hire terms and conditions.pdf on the Rental Quote scenario.

What happens next

Business Central now attaches Hire terms and conditions.pdf to each new rental quote email, for everyone in this company. You do not need to change your quotes. Other documents, such as rental orders, are not affected: add the file to each scenario that should include it.

Set up the message

When you'd use this. The email opens with your files attached but no message, or you want to check how the message is set up. The Essential Rental Setup Wizard can set this up for you, but it leaves any document that already has a report selected as it was.

1
Open Report Selections - Rental

Search for Report Selections - Rental and open it.

2
Set Usage to Rental Quote

At the top of the page, choose Rental Quote in Usage. Below it, you can see the report used for rental quotes.

3
Tick Use for Email Body

Tick Use for Email Body on the Rental Quote row. Keep Use for Email Attachment ticked too, because that is what attaches the quote as a PDF.

4
Choose the Email Body Layout

On the same row, choose Email Body Layout. Select Standard Rental Quote Email Body (Word). Check the right row is selected, because the list can open on another layout. Then choose OK.

Screenshot of the Report Layouts list for report 70969577, Rental Quote. It lists Standard Rental Quote (RDLC), Standard Rental Quote (Word) and, with its name cut short, Standard Rental Quote Email Body (Word). Marker 4 is on the email body layout, which is selected and outlined. 4
The layouts for the Rental Quote report, with the email body layout selected. Its name is cut short.
5
Check the row

Check both boxes are ticked and Email Body Layout shows the layout you chose. Then close the page.

Screenshot of Report Selections - Rental. Usage, outlined, is Rental Quote. The row is Sequence 1, report 70969577, Rental Quote. Use for Email Body and Use for Email Attachment are both ticked, and Email Body Layout starts Standard Rental Quote Email Body. Report Layout is blank. Marker 5 is on the two ticks and Email Body Layout, which are outlined. 5
Rental Quote set up with the message, its email body layout and the quote as a PDF.

What happens next

Rental quote emails now open with a message written from the email body layout. It uses details from the quote, such as the customer's name. To use your own wording, change a copy of the layout in Word and choose that copy instead: see Use a layout of your own.

Check the email

When you'd use this. You want to see what the customer will get, especially the first time after changing the setup. In the example, you email QUOT00030 to Adatum Corporation.

1
Open the quote and choose Email

Open rental quote QUOT00030 and choose Email.

Screenshot of the top of rental quote QUOT00030 for Adatum Corporation. The Home tab has Make Order, Archive Document, Print, Email, Attach as PDF and Get Recurring Rental Lines. Marker 1 is on Email, which is outlined. 1
Rental quote QUOT00030 for Adatum Corporation, with Email on the Home tab.
2
Check the message and attachments

Business Central opens the email for you to check. Nothing has been sent yet. Make sure it has a message and both files: Rental Quote QUOT00030.pdf and Hire terms and conditions.pdf. If the message is blank, see Set up the message.

Screenshot of the lower part of the email. The message, outlined, starts Dear Adatum Corporation and says the quote is attached. Attachments has Add files, Add files from default selection and Add file from source document. Marker 2 is on the two attached files, Rental Quote QUOT00030.pdf and Hire terms and conditions.pdf, which are outlined. 2
The email before it is sent, with its message, the quote PDF and the hire terms.
3
Send it

Check who the email is going to and its subject, then choose Send. If you only wanted to check the setup, close the email and discard the draft instead.

What happens next

If you sent the email, Adatum Corporation gets the message, the quote and your hire terms together. If you discarded the draft, nothing was sent. Either way, your setup stays in place for the next rental quote.

In detail

Where each part of the email comes from, and how to manage the files, for when you want to know.

Where each part of the email comes from

What is in the email
The message
Comes from the Email Body Layout on Report Selections - Rental, when Use for Email Body is ticked.
The document as a PDF
Attached when Use for Email Attachment is ticked on Report Selections - Rental.
Your own files
Attached from Email Scenario Attachments when Attach by Default is ticked for the file on that document's scenario.

A customer can have their own document layouts. If one email looks different from the others, check that customer's Document Layouts.

Other rental documents

The rental email scenarios are Rental Quote, Rental Order, Rental Shipment, Rental Return, Rental Invoice, Rental Pro Forma and Rental Credit Memo. To send a file with another document, add it to that document's scenario and tick Attach by Default there too. Then open an email for that document and check it before you send it. For the email body layouts, see Layouts and email bodies.

Files you add only when you need them

If you only need a file for some emails, add it to the scenario but leave Attach by Default off. It will not be attached automatically. To include it, open the email and choose Add files from default selection under Attachments, then choose the file. Despite the action's name, you can choose files that are not ticked as Attach by Default.

Changing or removing a file

Business Central keeps its own copy of the file, so changing the original on your computer does not update it. To replace it, add the new version to the same scenario and tick Attach by Default. Then select the old version and choose Delete. If both have the same name, use Download attachment to check which is which before you delete one. To stop attaching a file automatically but keep it in the list, clear Attach by Default.

Each company has its own setup

Email Scenario Attachments and Report Selections - Rental are set up separately in each company. If you use Essential Rental in more than one company, set them up in each. Adding a file to a scenario does not change which email account is used: see Layouts and email bodies.

Related pages