Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / March 2006

Tip: Looking for answers? Try searching our database.

Parse email headers

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Smith - 28 Mar 2006 11:56 GMT
Hi,

What is the easiest to retrieve email in vb, for example, time send, time received, date, destination server, originating server.

Thanks
Eric Legault [MVP - Outlook] - 28 Mar 2006 20:46 GMT
Many of the properties in e-mails are exposed via the MailItem object in the
Outlook Object Model.  Other information stored in an e-mail's Internet
headers requires CDO.  See here for a code sample for the latter:

http://www.slovaktech.com/code_samples.htm#InternetHeaders

Signature

Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/

> Hi,
>
> What is the easiest to retrieve email in vb, for example, time send, time received, date, destination server, originating server.
>
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.