Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moving email to a different folder

Status
Not open for further replies.

slaforce

Programmer
Jul 29, 2002
77
US
I have a script that opens an outlook email and saves it as a text file. I need to write a script that then moves the email out of the inbox and into a different folder. I'm not sure how to do this. Thanks for the help.
 
Hello slaforce,

Let oItem be the mail in question you already get hold of. Let oFolder be the destined folder. Then it is simply:
oItem.move oFolder

regards - tsuji
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top