22.03.2011, 11:47 | #1 |
MCT
|
Опять outlook
При таком вызове
X++: permission = new InteropPermission(InteropKind::ComInterop); permission.assert(); outlook = new COM (#outlookapplication); outlookNameSpace = outlook.getNameSpace(#mapi); outlookNameSpace.logon(); item = outlook.createItem(#olMailItem); recipients = item.Recipients(); if(recipients) { recipients.Add(emailTos); } item.body(emailBody); item.Send();
__________________
Axapta book for developer |
|
|
|