Richard Kreidl
asked on
Parse an email folder(Outlook 2010) that contains undelivered or returned email errors
I'm looking for a VBA Word macro to parse the bodies of emails for email addresses and write them to a Word Document separated by comma's as a delimiter.
This would be used to get the addresses out of returned mail failures so they can be removed from our database. I only have about 4000+ failures.
thanks
This would be used to get the addresses out of returned mail failures so they can be removed from our database. I only have about 4000+ failures.
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks
the designation is from the selection on the desired mailbox.
for example if you select your INBOX folder then you run this code. it will extract emails from Inbox only.
if you have a specific folder then select it first then run the macro it will extract from the selection.
this part of the code
Open in new window
triggers the folder on which the macro should excerpt. now it depends where is actually your folder, is it sub-folder to the default folder or is it a default folder.if you want change that to specific default folder or subfolder then you need to replace the abovementioned line with the below
for example
Open in new window
if your folder is not subfolder or is any default folder then simply remove ".Folders("your subfolder name")" from the code and if the folder is not INBOXFOLDER Then use one of the below default folders as needed.
Open in new window