M
mk-2
Hallo!
I try to use Net::IMAP to access our IMAP servers.
~~~~~~
use Net::IMAP;
# open a connection to the IMAP server
$server = new Net::IMAP( 'localhost',
Synchronous => 1,
Debug => 1,
)
|| die ("no server");
~~~~~~
The server is 2.1.16 in Debian Linux testing.
Apparently the script connects, but does not return a valid handle.
~~~~~~
mk@orcus:~/tmp> perl -w conn2
Name "main::server" used only once: possible typo at conn2 line 4.
<- Net::IMAP=HASH(0x82c9cac) 18:24:04 [* OK orcus Cyrus IMAP4
v2.1.16-IPv6-Debian-2.1.16-4 server ready]
no server at conn2 line 4.
~~~~~~
Any other operations later on this handle are failing.
Any idea what is wrong?
Thanks
Michael
I try to use Net::IMAP to access our IMAP servers.
~~~~~~
use Net::IMAP;
# open a connection to the IMAP server
$server = new Net::IMAP( 'localhost',
Synchronous => 1,
Debug => 1,
)
|| die ("no server");
~~~~~~
The server is 2.1.16 in Debian Linux testing.
Apparently the script connects, but does not return a valid handle.
~~~~~~
mk@orcus:~/tmp> perl -w conn2
Name "main::server" used only once: possible typo at conn2 line 4.
<- Net::IMAP=HASH(0x82c9cac) 18:24:04 [* OK orcus Cyrus IMAP4
v2.1.16-IPv6-Debian-2.1.16-4 server ready]
no server at conn2 line 4.
~~~~~~
Any other operations later on this handle are failing.
Any idea what is wrong?
Thanks
Michael