Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Create PDF and send as email attachment

(0) ShareShare
ReportReport
Posted on by 250

I have a requirement to send a PDF as attachment in my application. I have been able to create and send mails normally using the SysMailerSMTP class.

I also got a hint on how to go about the dynamic creation and sending of the attachment following this link:  https://axexplorer.wordpress.com/2017/07/18/create-an-excel-file-and-send-it-through-e-mail-in-d365-for-operationax-7/

Thanks in anticipation of your response.

*This post is locked for comments

  • Matthew Ireti Profile Picture
    Matthew Ireti 250 on at
    RE: Create PDF and send as email attachment

    Thanks have checked through your sample code but i actually need to make use of a designed Report. Just thinking if i can get a controller class that takes arguments

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans