Email send from AX2009

Hello friends,

When Item is received then automatically send email to another person from AX 2009.

How it is possible. Please guide me …



Hi Darshana,

this is the code for sending a mail …

static void c_SendQuickMail(Args _args)


//str ToAddress = “”;

str FromAddress = “”;

str Subject = “New2”;

str Body = “Hi”;

str FileToAttach = “D:\fn.pdf”;

SysMailer mailer = new SysMailer();





write this code in purchformletter_packingslip → updatenow() method …

Hi Darshana,

This has already been discussed several times on this forum, please go through this url: