How do I extract email addresses from a folder of bounced emails?

drkenrich1688

New Member
Joined
Jul 31, 2018
Messages
1
First, this questions has been addressed in the past at https://www.mrexcel.com/forum/excel-questions/616616-extract-specific-data-folder-eml-files.html. Unfortunately it's about 4 years old and no longer serviced. The moderator suggested I link to it and then ask my questions. The details are in the last post to that thread, but here it is again. I've tried to use that script but, even with changes, I can't get it to work.

I send out emails and sometimes get bounces. I usually try to manually update my DB individually, but I want to automate it. I have about 200 bounce notices from the last few months which I've copied as .eml files to a separate folder. I created an empty Excel 2010 spreadsheet with column headers (To and From) the same as the data titles in the code script ready for data. I have two individual test .emls in the same folder.

No matter what I run at least one of the .eml files should provide data. Both give me "No data was available..."

I've looked all through several .eml files and all have a LOT of stuff in them, but they all have the same original data from my original email in them as (including the quotation marks):
To: "recipient@email.com" <itc@msf.org style="color: rgb(51, 51, 51); background-color: rgb(250, 250, 250);">
Subject: Here is the subject
Date: Thu, 12 Jul 2018 20:08:30 -0400
From: Timeshare <timeshare@victimsreliefinc.com>

What is an Excel macro that will extract the data I need??

Thank you in advance.</timeshare@victimsreliefinc.com></itc@msf.org>
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top