Axaptapedia is now maintained by AgileCadence For more information please click here.


From Axaptapedia
Jump to: navigation, search

The SysEmailBatch class is used for sending emails from Axapta.

<xpp> SysEmailBatch mailer;

mailer = SysEMailBatch::construct(); mailer.parmPriority(emailPriority::Normal); mailer.parmSenderAddr(""); mailer.parmSendername("Your name"); mailer.parmEmailAddr(""); mailer.parmEmailName("Receiver name"); mailer.parmSubject(subject); mailer.parmMessageBody(msgBody);; </xpp>


The Administration Daily security key (AdminDaily) must be set to at least Read Only. There is no need to give access to the sub-keys.