Discussion Locked

MAPI and MSWord

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Dear Colleges:

I am working with a program designed to send Emails from MSWords. I used VBA6 to generate the necessary script to create customized documents and send them by email. The problem is I need to send the document as is on the Message.text or Item.Body MS Outlook and not as an Attached document. I tried with every combination of these objects and I was unsucessful. I appriciate if anybody can help me on this matter
Thanks

1 reply

by lexingtonit

If you open a word document, and use menu "send to" to send this word document to someone, it is basically sent as a HTML format. And if you use "send as attachment", it will send a word document. So the solution would be, after created the word document, transform it into html file(Word document object has this method), then sent this file as the msgtext and label this email as HTML format.

This discussion is closed to new replies.