I'm having trouble figuring out what the storeid is. i looked at the page http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdo/html/_olemsg_folder_object.asp
and i can't seem to get a grip on how that would work in my code. I must be missing something in this line that makes it think that it doesn't have the right number of parameters.
i'm getting errors that say :
Win32::OLE(0.1501) error 0x8002000e: "Invalid number of parameters"
in METHOD/PROPERTYGET "MoveTo" at C:\scripts\perl\email\getSearchE
+mail.pl li
ne 27
with the line :
$item->{MoveTo}( $Folder5 );
<banging head against my desk> i wish i could make this work. Can anyone help? Thanks again Strat for your postings. I do appreciate your help.
Ray