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 :
Microsoft Dynamics AX (Archived)

sending automatic e-mail with a report attached - how can i setup AX2009 for e-mails then make a job that runs a report and send it ?

(0) ShareShare
ReportReport
Posted on by

Axapta 2009

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Denis Macchinetti Profile Picture
    16,444 on at

    Hi

    As per my understanding, i suggest two link :

    axprogramming.blogspot.it/.../how-to-send-report-via-email-from-ax.html Here you can find the code for send a report by email. This work with Outlook.

    If you want to send a report using SMTP, you can look at erptechnician.net/.../sending-email-via-smtp-using-x-and-net-framework-in-dynamics-ax

    Here you find also how to setup the email parameter.

    However, you can find many blogs about that.

    Hope this help.

    Regards

  • Community Member Profile Picture
    on at

    Hi denis ,

    Many thanks for your great support but i need another thing that i mentioned in the post

    i want a job to run an ax report then save it then another job to attach such a report and e-mail it to a user periodically is this applicable ?

  • Denis Macchinetti Profile Picture
    16,444 on at

    Hi Emad

    I suggest you another link.

    Here you find the code for create a Batch Class that send a Report by email every day.

    axhelpdesk.blogspot.it/.../how-to-send-normal-ax-reports-to-user.html

    If it's not what you are looking, give me more details about your requirements.

    Regards

  • Community Member Profile Picture
    on at

    Dear Denis,

    Many thanks for this great help i will try the code and feed you back , the problem is that i don't have a coding license so i cannot add classes so i will try such code on AX2012 and export the import it on AX2009 and see :)

    many thanks again

  • Denis Macchinetti Profile Picture
    16,444 on at

    Hi Emad

    Morphx report work also in AX 2012.

    So i think the code work as well.

    Please, remember to set the answer as verified if all work fine, otherwise i'm here!

    Have a nice day

    Regards

  • Community Member Profile Picture
    on at

    many thanks it works as a job now

    although i wrote all code logic in the job

    the remaining now is Can I schedule an AOT Job as a Batch Job?

    i mean i want to run that job daily

  • Denis Macchinetti Profile Picture
    16,444 on at

    Hi Emad

    Great!

    Now, you have to create a RunBaseBatch Class and move your code.

    You can also duplicate an existing class ( i.e. SalesParmCleanUp, etc.), move your code on Run method and remove the code unused.

    Finally, when you run the Class you can move in Batch using "batch" tab.

    You can create also a specific Batch Group and using for your purpose.

    Have a nice day

    Regards

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
imran ul haq Profile Picture

imran ul haq 8

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 4 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans