View Single Post
  #3  
Old November 6th 06, 08:55 PM posted to microsoft.public.outlook.program_vba
bbnimda
external usenet poster
 
Posts: 29
Default outlook 2k3 Script: how to Save Mail body to txt file

How can I extract and save ??? I tryed different things but no one
success....


"Ken Slovak - [MVP - Outlook]" a écrit dans le message
de news: ...
There is no SaveAs method for a body, only for an item. If you want to
save the entire item you would use Item.SaveAs.

If you only want to save the body you have to extract it as a string and
use your favorite method of saving text to a file.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"news.microsoft.com" wrote in message
...
Hi all

I Want to save the body of my RTF mail to a txt File

I tryed

Item.body save as "c:\target.txt"

but it does'nt success

Tks for help






Ads