Hi,
Is there a way using Perl 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?
Thanks,
- Bruce
Is there a way using Perl 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?
Code:
(ref ($sender->MailFile(
{to => "$email",
cc => "$email",
from => 'batch@mydomain.com', ........
Thanks,
- Bruce