Solved

Outlook Mailo Items

Posted on 2006-06-26
3
192 Views
Last Modified: 2010-04-08
Hi

I have to extract different parts of an email.

I have the subject and body so far using
sSubject = objMailItem.Subject
sBody = objMailItem.Body

How do I get the Author, To:, CC:, Sent Date items?

Is there a list of the items that make up each email?

Thanks

0
Comment
Question by:murbro
  • 2
3 Comments
 
LVL 92

Accepted Solution

by:
Patrick Matthews earned 500 total points
ID: 16984168
Hi murbro,
> How do I get the Author, To:, CC:, Sent Date items?

objMailItem.SenderName
objMailItem.To
objMailItem.CC
objMailItem.SentOn

To see all the properties, open the VB Editor from Outlook, hit F1 to show the help file, and look for the entry on the
MailItem object.

Regards,

Patrick
0
 

Author Comment

by:murbro
ID: 16984221
Thanks Patrick
0
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 16984267
You're welcome :)
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Learn more about how the humble email signature can be used as more than just an electronic business card. When used correctly, a signature can easily be tailored for different purposes by different departments within an organization.
Find out how to use dynamic social media in email signatures with this top 10 DOs & DON’Ts.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now