Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do I determine if emailmessage has no HTMLbody?

Status
Not open for further replies.

Gerrit Broekhuis

Programmer
Aug 16, 2004
316
NL
Hi,

When saving a TXT mail to a database I sometimes get an error when referencing the Outlook HTMLbody. Apparently VBA gives an error when the HTMLbody is empty and the message is pure TXT? How do I check i an email message does have a HTMLbody or not in order to prevent these errors?

Regards, Gerrit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top