View Single Post
  #8  
Old January 25th 07, 05:51 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Outlook HTML.Body

I still don't understand: why can't you have both image and extra text in
HTML body?

html
body
Text before image
p
img src="cid:MyTestCID"
p
Text after image
/body
/html

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

"grahamproctor" wrote in message
...

Hi Dmitry

The problem is I don't have 2 HTML strings, I have a graphic (.jpg)
which your excellent advice has fooled Outlook into putting into the
HTMLBody but I still have the problem of how to get the customised text
(HTML string) appended to that image. Whatever I do seems to replace the
contents of the HTMLBody and lose the graphic.

I have received many HTML emails which have a graphic (which is
actually a link to another site) followed by text and that would be
good.

At the moment I am completely stumped - using IHTMLDocument2 object and
DOM is technically beyond me at the moment without an example (I am
using VBA and the code in is Access).

Yours desperately,

Graham.


--
grahamproctor
------------------------------------------------------------------------
grahamproctor's Profile: http://www.officehelp.in/member.php?userid=6171
View this thread: http://www.officehelp.in/showthread.php?t=1325714

Posted from - http://www.officehelp.in



Ads