Problème import imap
Posté : jeu. 19 juil. 2018 16:40
Bonjour,
Je rencontre un souci lors de la demande d'import de mail via imap.
Voici l'erreur que j'obtiens :
IMAP server: outlook.office365.com
IMAP port: 993/imap/ssl
IMAP connection string: {outlook.office365.com:993/imap/ssl/novalidate-cert}INBOX
IMAP connector mode: SINGLE
Fatal error: Uncaught PhpImap\ConnectionException: IMAP method imap_open() failed with error: Can not authenticate to IMAP server: AUTHENTICATE failed. in /var/www/gestsup/components/PhpImap/Mailbox.php:861 Stack trace: #0 /var/www/gestsup/components/PhpImap/Mailbox.php(148): PhpImap\Mailbox->imap('open', Array, false, 'PhpImap\\Connect...') #1 /var/www/gestsup/components/PhpImap/Mailbox.php(134): PhpImap\Mailbox->initImapStream() #2 /var/www/gestsup/components/PhpImap/Mailbox.php(112): PhpImap\Mailbox->initImapStreamWithRetry() #3 /var/www/gestsup/components/PhpImap/Mailbox.php(851): PhpImap\Mailbox->getImapStream() #4 /var/www/gestsup/components/PhpImap/Mailbox.php(244): PhpImap\Mailbox->imap('search', Array) #5 /var/www/gestsup/mail2ticket.php(192): PhpImap\Mailbox->searchMailbox('ALL') #6 {main} thrown in /var/www/gestsup/components/PhpImap/Mailbox.php on line 861
Pouvez-vous m'aider ?
Merci,
Bien cordialement,
Je rencontre un souci lors de la demande d'import de mail via imap.
Voici l'erreur que j'obtiens :
IMAP server: outlook.office365.com
IMAP port: 993/imap/ssl
IMAP connection string: {outlook.office365.com:993/imap/ssl/novalidate-cert}INBOX
IMAP connector mode: SINGLE
Fatal error: Uncaught PhpImap\ConnectionException: IMAP method imap_open() failed with error: Can not authenticate to IMAP server: AUTHENTICATE failed. in /var/www/gestsup/components/PhpImap/Mailbox.php:861 Stack trace: #0 /var/www/gestsup/components/PhpImap/Mailbox.php(148): PhpImap\Mailbox->imap('open', Array, false, 'PhpImap\\Connect...') #1 /var/www/gestsup/components/PhpImap/Mailbox.php(134): PhpImap\Mailbox->initImapStream() #2 /var/www/gestsup/components/PhpImap/Mailbox.php(112): PhpImap\Mailbox->initImapStreamWithRetry() #3 /var/www/gestsup/components/PhpImap/Mailbox.php(851): PhpImap\Mailbox->getImapStream() #4 /var/www/gestsup/components/PhpImap/Mailbox.php(244): PhpImap\Mailbox->imap('search', Array) #5 /var/www/gestsup/mail2ticket.php(192): PhpImap\Mailbox->searchMailbox('ALL') #6 {main} thrown in /var/www/gestsup/components/PhpImap/Mailbox.php on line 861
Pouvez-vous m'aider ?
Merci,
Bien cordialement,