[AccessD] Unusual problem processing Outlook emails
Joe O'Connell
JoeO at appoli.com
Tue Feb 13 11:05:59 CST 2018
Access 2013 application has a module that monitors an Outlook 2013 Inbox. When an email is received it needs to be parsed and various actions taken depending on who sent the email, the subject and the contents of the body. This has worked flawlessly for years using these properties:
olItem.Subject
olItem.CreationTime
olItem.SenderName
olItem.Body
Now a few emails have been received that generate errors when these properties are referenced:
olItem.SenderName
olItem.Body
The Subject and CreationTime still work as expected.
All emails display properly in Outlook, but the actual format of the emails must be different to generate the errors when VBA attempts to retrieve the properties.
I have not been able to find out why this is happening. All suggestions on how to deal with these errors will be greatly appreciated.
Joe O'Connell
More information about the AccessD
mailing list