You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For context updated an old internal php site from 5.4 to 7.4 recently and needed a replacement for php_imap so I'm attempting to use this project. Was able to get connected to a gmail account no problem. However I also need to connect to an ancient Nortel BCM50 phone system with a voicemail that's setup as an imap mail server. So far using the old connection script that previously worked in 5.4 just throws the following error:
Warning: imap_open(): Couldn't open stream {10.0.1.130:143}INBOX in /var/www/html/bartec/batchops.php on line 13. Source code in /var/www/html/bartec/vendor/javanile/php-imap2/src/Connection.php on line 81
Cannot connect: Can not authenticate to IMAP server: A0002 BAD Argument given to AUTHENTICATE when none expected
Connection line was simply the following:
$imap_conn = imap_open("{10.0.1.130:143}INBOX", 'user', 'pw') or die('Cannot connect: ' . print_r(imap_last_error(), true));
I've tried quite a few different connection options and none seem to let me connect. If anyone has tips for getting connected to an ancient phone system or some connection options I might be missing would be much appreciated.
Also of note was able to connect via telnet using the ip/port and login was accepted via telnet from the server running php/webserver.
The text was updated successfully, but these errors were encountered:
For context updated an old internal php site from 5.4 to 7.4 recently and needed a replacement for php_imap so I'm attempting to use this project. Was able to get connected to a gmail account no problem. However I also need to connect to an ancient Nortel BCM50 phone system with a voicemail that's setup as an imap mail server. So far using the old connection script that previously worked in 5.4 just throws the following error:
Warning: imap_open(): Couldn't open stream {10.0.1.130:143}INBOX in /var/www/html/bartec/batchops.php on line 13. Source code in /var/www/html/bartec/vendor/javanile/php-imap2/src/Connection.php on line 81
Cannot connect: Can not authenticate to IMAP server: A0002 BAD Argument given to AUTHENTICATE when none expected
Connection line was simply the following:
$imap_conn = imap_open("{10.0.1.130:143}INBOX", 'user', 'pw') or die('Cannot connect: ' . print_r(imap_last_error(), true));
I've tried quite a few different connection options and none seem to let me connect. If anyone has tips for getting connected to an ancient phone system or some connection options I might be missing would be much appreciated.
Also of note was able to connect via telnet using the ip/port and login was accepted via telnet from the server running php/webserver.
The text was updated successfully, but these errors were encountered: