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
"John" <John[ at ]nospam.infovis.co.uk> wrote in message news:OHqXjxX3GHA.1252[ at ]TK2MSFTNGP04.phx.gbl...
[Quoted Text] > 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 > >
|