web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

Business Central Invoice Attached documents

(0) ShareShare
ReportReport
Posted on by 911

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?

Categories:
  • Nick Webb Profile Picture
    911 on at

    Am I doing something wrong? I don't seem to be getting any answers to my questions?

  • Hannes Holst Profile Picture
    5,769 on at

    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.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans