Announcements
No record found.
From within an AL codeunit how can I iterate through a list of attached documents for an invoice and attach them to an SMTP email?
Am I doing something wrong? I don't seem to be getting any answers to my questions?
This depends how you create + send Emails etc.
In Codeunit 400 "SMTP Mail" is a function called "AddAttachment" that does what your are looking for. But using this function prerequires that use only Codeunit 400 to create & send the Email.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to a top community star!
In our never-ending quest to help the Dynamics 365 Community members get answers faster …
Welcome to the next edition of the Community Platform Update. This is a status …
Stay up to date on forum activity by subscribing.