现在的位置: 首页 > 综合 > 正文

SysEmailBatch 邮件

2012年09月18日 ⁄ 综合 ⁄ 共 520字 ⁄ 字号 评论关闭
文章目录

SysEmailBatch

The SysEmailBatch class is used for sending emails from Axapta.

SysEmailBatch mailer;   mailer = SysEMailBatch::construct();
mailer.parmPriority(emailPriority::Normal);
mailer.parmSenderAddr("Sender@mail.com");
mailer.parmSendername("Your name");
mailer.parmEmailAddr("receiver@mail.com");
mailer.parmEmailName("Receiver name");
mailer.parmSubject(subject);
mailer.parmMessageBody(msgBody);   mailer.run();

[edit]Security

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.

抱歉!评论已关闭.