Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Outlook Mailo Items

Posted on 2006-06-26
3
Medium Priority
?
204 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:Murray Brown
[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 93

Accepted Solution

by:
Patrick Matthews earned 2000 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:Murray Brown
ID: 16984221
Thanks Patrick
0
 
LVL 93

Expert Comment

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

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

Changing a few Outlook Options can help keep you organized!
With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
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 …
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…

597 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