Solved

Outlook Mailo Items

Posted on 2006-06-26
3
197 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

740 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