Good Day,
I have a sub routine which copies attachments from email items (.msg files) that I have placed in a share folder to another share folder.
Unfortunately, sometimes the mail item has Digital ID problems:
"Sorry, we're having trouble opening this item. this could be temporary, but if you see it again you might want to restart outlook. your digital id name cannot be found by the underlying security system".
I have not been able to find VBA error handling (EH) that enables the sub to continue when encountering this error. It seems like trying to open a password protected file without the password. Even though I have moved the email from Outlook to the share folder, the Outlook error still prevails. I admit I don't know much about the connection.
This kind of defeats the purpose of my automated process via my sub if I have to test each email by opening it to see if there is a certificate problem or not.
Have any of you encountered this before? Is there a work around with Access VBA error handling?
Would I be better able to bypass the certificate check with PowerShell scripting? Any insight into this would be most helpful.
Please let me know if you have questions or require additional information. Thank you for your time and effort.
Sincerely,
UTS
I have a sub routine which copies attachments from email items (.msg files) that I have placed in a share folder to another share folder.
Unfortunately, sometimes the mail item has Digital ID problems:
"Sorry, we're having trouble opening this item. this could be temporary, but if you see it again you might want to restart outlook. your digital id name cannot be found by the underlying security system".
I have not been able to find VBA error handling (EH) that enables the sub to continue when encountering this error. It seems like trying to open a password protected file without the password. Even though I have moved the email from Outlook to the share folder, the Outlook error still prevails. I admit I don't know much about the connection.
This kind of defeats the purpose of my automated process via my sub if I have to test each email by opening it to see if there is a certificate problem or not.
Have any of you encountered this before? Is there a work around with Access VBA error handling?
Would I be better able to bypass the certificate check with PowerShell scripting? Any insight into this would be most helpful.
Please let me know if you have questions or require additional information. Thank you for your time and effort.
Sincerely,
UTS
Comment