Adding text to existing e-mail without changing format

V

Victor Roberts

I am testing an example from www.outlookcode.com,
http://www.outlookcode.com/codedetail.aspx?id=70
that removes attachments and adds the name of the attachment
to the message. My problem is that no matter if the original
e-mail is in Plain Text, Rich Text or HTML, the result after
adding the name of the attachment is always Rich Text.

I'm using Outlook 2000 and can't figure out how to have the
message remain in its original format. I just purchased Sue
Mosher's book, Microsoft Outlook Programming and have not
yet found the answer there, but did find some indication
that only Outlook 2002 can force the message to be in a
particular format. It is impossible to do what I want with
VBA?
 
H

Hollis D. Paul

Victor Roberts said:
My problem is that no matter if the original
e-mail is in Plain Text, Rich Text or HTML, the result after
adding the name of the attachment is always Rich Text.
If you so much a touch that body control with any code, look at it
cross-eyed, or just think bad thoughts about it, it changes to Rich
Text. There seems to be no getting around it, so live with it.

Hollis D. Paul [MVP - Outlook]
Mukilteo, WA USA
 
V

Victor Roberts

If you so much a touch that body control with any code, look at it
cross-eyed, or just think bad thoughts about it, it changes to Rich
Text. There seems to be no getting around it, so live with it.

Thanks. Interesting that I can do this manually, but not
through code.

I see in Sue's book that if I was using OL2002 I could save
the message as either Plain Text, Rich Text or HTML, but the
required function is not available in OL2000.
 

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