Delete Email in VB

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

I want to delete a email message out of VB within Access
2002. How can it be done?

Thanks
 
Hi Tom,

for delting it into the DeletedItems folder just call the
MailItem.Delete method. For deleting it permanently you´d need to move
it first into the DeletedItems folder (MailItem.Move) and then call its
Delete method.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top