From: | "Holstege, Eric" <EHolstege [...] gwsmail.com> |
To: | "'bug-Mail-IMAPClient [...] rt.cpan.org'" <bug-Mail-IMAPClient [...] rt.cpan.org> |
Subject: | Mail::IMAP, NT login != mailbox name, how to do this |
Date: | Fri, 20 Jun 2003 14:15:58 -0700 |
I am trying to use the Mail::IMAP Perl module on Win2000
My Windows NT login name is 'eholsteg' and my actual mailbox name is
'eholstege' - extra 'e' (in the sense that my email address is
eholstege@gwsmail.com)
I have tried using both
User => 'eholsteg'
and
User => 'eholstege'
in the New method.
The first fails New with:
1 NO Logon failure: unknown user name or bad password.
the second
1 NO There is no such mailbox on this server
The code is:
$imap = Mail::IMAPClient->new( Server => '10.1.0.24',
User => 'EHolsteg',
Password=>'mypassword',
Uid => 1, # optional
Debug => 1,
Showcredentials =>1,
);
Is there a way or need to specify the login name as distinct from the email
account name?
Thanks in advance
-Eric
------------------------------------------ User => mailbox name
Using Mail::IMAPClient version 2.1.3 and perl version 5.6.1 (5.006001)
Mail::IMAPClient not using Fast_IO; not available on this platform at
c:\docume~1\eholsteg\desktop\e
ric\src\imap\imaptest2.pl line 14
Read: * OK Microsoft Exchange IMAP4rev1 server version 5.5.2653.23
(exchange.bindco.com) ready
Connect: Received this from readline: 0/OUTPUT/* OK Microsoft Exchange
IMAP4rev1 server version 5.5.
2653.23 (exchange.bindco.com) ready
Sending: 1 Login "XXXXXXXXX" "XXXXXXXXX"
Sent 33 bytes
Read: 1 NO Logon failure: unknown user name or bad password.
------------------------------------------ User => Win2000 account name
Using Mail::IMAPClient version 2.1.3 and perl version 5.6.1 (5.006001)
Mail::IMAPClient not using Fast_IO; not available on this platform at
c:\docume~1\eholsteg\desktop\e
ric\src\imap\imaptest2.pl line 14
Read: * OK Microsoft Exchange IMAP4rev1 server version 5.5.2653.23
(exchange.bindco.com) ready
Connect: Received this from readline: 0/OUTPUT/* OK Microsoft Exchange
IMAP4rev1 server version 5.5.
2653.23 (exchange.bindco.com) ready
Sending: 1 Login "XXXXXXXXX" "XXXXXXXXX"
Sent 32 bytes
Read: 1 NO There is no such mailbox on this server
------------------------------------------