email HTMLBody with Word as Email Editor

M

Mikey

Long story short, my addin basically gives the user a couple of templates to
choose from and lets them create a flyer based on HTML code. The user also
has the option to include up to 3 personal images which can be positioned
anywhere on the page using absolute positioning.

As we know, Word is the default e-mail editor in OL2003 and the only email
editor in OL2007. I now have an HTML doc I want to basically convert to an
Outlook email. I am creating a new email in OL and adding images as
attachments and using redemption (or the ol2007 propertyaccessor) to set the
fields needed to make the attachments hidden and assign CID's to them. I then
stuff the modified HTML (replaced img src with CID's) into the
olMail.HTMLBody property. Then for some dumb reason word wants to become
visible. I hide it and then move on to some other stuffs that are required
and then show the mail item when I'm done. All looks great except the
background of a table isn't shown (until I actually send the mail item) and
the big annoying problem is that word decides to totally ignore the absolute
position of the dynamicly added images. I have looked ALL OVER and can not
find any suggestions or recomendations on how to absolutely postion something
in HTML so that it gets converted to its Microsft Word HTML equivelant. Does
anyone have any suggestions? Why does MS make an HTMLbody property if it
doesn't accept standard HTML?
-Thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top