HTML Email in 2007

nathansav

Registered User.
Local time
Today, 15:48
Joined
Jul 28, 2010
Messages
114
Hi,

I have recently (today) switched to Office 2007 from Office 2003.

I my access DB there is a module which sends an HTML email, using the following code

With objMailItem
.BodyFormat = olFormatHTML
.To = EMAIL@EMAIL.com
.HTMLBody = "<HTML>" & strBody & "</HTML>"
.Display
End With

However, the email is not in HTML format, it is just one long text entry, but it was in 2003.

Is there something that i am missing?

TIA

NATHAN
 
Hi,

Apologies,

It is my code which retrieves the template for the email.

Problem solved.

Thanks.
 

Users who are viewing this thread

Back
Top Bottom