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.
 
Back
Top