Mark White
Member
- Outlook version
- Outlook 2013 64 bit
- Email Account
- Exchange Server
Hi,
I have a Shared mailbox that is programmatically worked on to move messages to other folders depending on the senders as well as send out emails in reply.
Occasionally, a recipient of an email from the shared mailbox will email back and then Recall that message which then blocks up the email queue in the Shared mailbox.
I know that I can iterate over the message by using code like this: If oSharedInbox.Items(intI).MessageClass <> "IPM.Outlook.Recall" Then...
But I can't get rid of the email as if I try deleting or moving I get a 430 error -Class does not support Automation or does not support expected interface.
Does anyone have any ideas how I can programmatically deal with them as I iterate through the list of emails?
Cheers
Mark
I have a Shared mailbox that is programmatically worked on to move messages to other folders depending on the senders as well as send out emails in reply.
Occasionally, a recipient of an email from the shared mailbox will email back and then Recall that message which then blocks up the email queue in the Shared mailbox.
I know that I can iterate over the message by using code like this: If oSharedInbox.Items(intI).MessageClass <> "IPM.Outlook.Recall" Then...
But I can't get rid of the email as if I try deleting or moving I get a 430 error -Class does not support Automation or does not support expected interface.
Does anyone have any ideas how I can programmatically deal with them as I iterate through the list of emails?
Cheers
Mark