Get Email Body without displaying email.

P

Paul

Hi
Is there a way to get the body of an email without displaying it?
ie creating a variable and setting the variable to be the body of a standard
email with the user's default signature?

I have tried:

Dim objBody as object= NewEmail.body
but objBody is nothing

Thanks
 
S

Sue Mosher [MVP-Outlook]

Body is a string property, not an object property.

If the user is using an automatic signature, it will not be included in the text returned by Body or HTMLBody unless the message is first displayed.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Top