Question : Move smtp cdo message to a file

I need help moving an e-mail that was not sent via smtp to a folder.  How is this done?

Answer : Move smtp cdo message to a file

I believe CDONTS, although the below links point to CoClass (CDOSYS) objects

Sorry - the command is:

 objEmail.SaveToFile "c:\fileaddress.eml", adSaveCreateOverWrite  

The last arguement states to overwrite the original file name

More info here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_cdo_message_coclass.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_cdo_message_coclass.asp

Random Solutions  
 
programming4us programming4us