Save Html Email only saves partial message.

M

mike kim

It happens sporatically. When I save html email locally using the
below code, sometime the local html file doesn't have all content, it
only has partial email message. What can I do to ensure the entire
message is saved everytime?
I have Outlook 2000 on Win2000 workstation.

If objMsg.GetInspector.EditorType = olEditorHTML Then
strFile = "C:\Output\Email.HTM"
objMsg.SaveAs strFile, olHTML
Endif
 
K

Ken Slovak - [MVP - Outlook]

Are the results any different if you access the .HTMLBody property of the
item and get it as a string and write that string out as a text stream to a
file? You can use Windows scripting code to do that using the
FileSystemObject.
 
M

mike kim

Ken Slovak - said:
Are the results any different if you access the .HTMLBody property of the
item and get it as a string and write that string out as a text stream to a
file? You can use Windows scripting code to do that using the
FileSystemObject.

That was the ticket!
Thanks a lot.
 

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