Bojensen Blogs

How to send a report via email from Microsoft Dynamics AX

Hi all!

Today I want to show you how to send a custom report via email from AX (it works with an AX client installation and it’s tested for Microsoft Outlook and Novell GroupWise).

In AX there is a class that allows you to do this: “SysINetMail”.

Here’s the code:




I have included this method in a class that creates the report to be sent, but if you want to use it as a job, you have to use “Args” function to pass the name of the report to be printed.

Posted on

Comments are closed.