note 50340 deleted from function.imap-open by cmb
| From: | cmb@php.net | Date: | Sun, 18 Aug 2019 08:40:06 +0000 |
| Subject: | note 50340 deleted from function.imap-open by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-211935@lists.php.net to get a copy of this message | ||
Note Submitter: info at infosoporte.com
----
I can connect to my email server with no problem using regular usernames and passwords but.... in my
server the usernames are long.. like name.surname1.surname2@subdomain.domain.com , and i get an
error when the username size is over 40 chars:
$conn = imap_open("{". $server . ":110/pop3}", $username, $user_password) or die
("Failed with error: ".imap_last_error());
returns
Too many login failures
when the username is over 40 chars. Just remember that if you plan to use long usernames.