Problem with signature when creating new email

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

I am creating email via code from access using below;

objOutlookMsg.Display
objOutlookMsg.BodyFormat = olFormatHTML
objOutlookMsg.Body = "Dear abc..." & objOutlookMsg.Body

The email displays fine along with the signature set in outlook but as soon
as the text is added, the signature formatting is lost and the signature
image is replaced with a hyperlink. How can I preserve the signature
formatting while adding text before it?

Thanks

Regards
 
Set the HTMLBody property instead of Body.
Keep in mind that HTML strings (unlike plain text) cannot be simply
concatenated.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top