I apologize, I should have been clearer with the with actual. I can't seem to get it to close the mailbox thereby expunging the messages. When I try to connect to the Exchange server using the builtin method of Mail::IMAP4, then I get an error saying "Can't use 'NTLM' as array ref in strict subs". Ok, no problem, I'll connect to the server via another perl module. I do and I can't open the imap folders 'rw' which means that when I close them, it won't let me WRITE my changes thus expunging the mail. (This script is killing me).
Eric | [reply] |