bdbmeag has asked for the wisdom of the Perl Monks concerning the following question:

Hi, Is there a way to move an email message in MS Outlook from one folder to another? I've looked through documentation for Win32::OLE::Const 'Microsoft Outlook' but don't see anything about moving emails. I'm trying to move emails sent via a script that uses Mail::Sender. On a related note, can I specify the folder using this library (this way I won't have to move the email in the first place)? Is it possible to specify this in the "from" property; or is there another property that I can use?
(ref ($sender->MailFile( {to => "$email", cc => "$email", from => 'batch@mydomain.com', ........
Thanks, - Bruce

Replies are listed 'Best First'.
Re: Moving email from one Outlook folder to another
by Anonymous Monk on Feb 13, 2009 at 09:12 UTC