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
Solved

Outlook Mailo Items

Posted on 2006-06-26
3
195 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
In this step by step procedure, you will come to know the details of creating an Outlook meeting in 2007, 2010, 2013 & 2016.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

790 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