SSL
Posts: 178
Joined: 2014-01-05
|
Hi Andrei,
How do I delete an email from Drafts based on EntryID.
Regards,
Tom |
|
Andrei Smolin
Add-in Express team
Posts: 18793
Joined: 2006-05-11
|
Hello Tom,
If the email is opened in an inspector, save the email, get its MailItem.EntryId, close it. If the email isn't opened, just retrieve MailItem.EntryId. Then call NamespaceGetItemFormId() to find the email. Call MailItem.Delete().
Andrei Smolin
Add-in Express Team Leader |
|