Use an HTML converter to prepare your email message, then paste the compressed HTML into an execution’s Body field in VDM.
This example uses a Daily Sales Report message and a PDF attachment.
Trouble viewing images? Right-click an image and select Open image in new tab to view the full-size version.
Create the Email Message
- Open WordHTML.
- Type or paste your message into the Word editor on the left.
- Adjust the message using the editor’s formatting controls as needed.
- Review the generated code in the HTML pane on the right.
The example message includes a greeting, report description, reporting period, requested action, and signature.
Compress and Copy the HTML
- In the converter’s HTML toolbar, select Compress HTML.
- Click inside the HTML code area.
- Press Ctrl + A to select the code, then Ctrl + C to copy it.
Important: Compress the HTML before copying it into VDM. Skipping this step can leave excessive space between lines in the received email. If you edit the message again, compress it again before copying.
Compressed HTML may still wrap across several visible lines in the editor. That visual wrapping does not mean it is uncompressed.
The demo message appears on the left, with its compressed HTML on the right.
Add the HTML to the Execution
- Open the job in VDM’s Scheduler.
- Select the execution you want to update.
- On the Job tab, click Edit (Wizard).
- Continue to Email and Alerts Options.
- Select Enable Email Delivery and choose the appropriate Email Delivery Profile.
- Enter the recipient in To, add CC recipients if needed, and enter the Subject.
- Replace the contents of Body with the compressed HTML you copied.
- If the email should include the exported report, select Attach File and confirm that the execution is configured to export the required file.
Demo values:
- Email Delivery Profile: Demo Email
- To: sales@example.com
- Subject: Daily Sales Report
Use your own configured profile and a recipient address you can check when testing.
Paste the compressed HTML into Body. HTML tags are expected here; the received email displays the message.
- Click Next and complete the remaining wizard steps.
- Save the job.
Run the Job and Review the Email
- Run the job.
- Open the received email.
- Check the message text, paragraph spacing, and any formatting you applied.
- Confirm that the expected report is attached if Attach File is enabled.
The received demo email displays the message with normal paragraph spacing and the DailySalesReport.pdf attachment.
If the Email Has Too Much Space Between Lines
Return to the converter, select Compress HTML, and copy the updated code. Replace the execution’s Body value, complete the wizard, save the job, and run it again.
If extra spacing remains, check the message in the converter for unwanted empty paragraphs or repeated line breaks.
Comments
0 comments
Please sign in to leave a comment.