Save Html Email only saves partial message.

  • Thread starter Thread starter mike kim
  • Start date Start date
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
 
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.
 
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.
 
Back
Top