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

I am trying to connect to windows server 2003 to process emails. I have used the module: Net::Imap::Simple to do it on windows NT but server 2003 doesnt let me in. anyone have the same issue? I keep on getting "invalid username or password" But I know they are right! Any help is much appreciated.
  • Comment on issue with Net::Imap::Simple and windows server 2003

Replies are listed 'Best First'.
Re: issue with Net::Imap::Simple and windows server 2003
by starbolin (Hermit) on Mar 31, 2005 at 06:12 UTC

    Server 2003 handles authentication different from NT. Make sure you username is transmitted as all uppercase. Also try with and without a leading $.


    s//----->\t/;$~="JAPH";s//\r<$~~/;{s|~$~-|-~$~|||s |-$~~|$~~-|||s,<$~~,<~$~,,s,~$~>,$~~>,, $|=1,select$,,$,,$,,1e-1;print;redo}
      I got connected. the login name has to be, "domain/userid/emailaddress". However the delete method doesnt work. I even call expunge and quit after my delete call and still no luck. this module worked perfect on NT but on server 2003 its got some problems. thinking of transfering to Mail::IMAPClient. found a fix for the bug. There was a problem with the expunge method. check out, http://rt.cpan.org/NoAuth/Bug.html?id=8035 There is a fix there. it seeems that the module was sending an extra white space when expunging the selected folder.