Issue with retrieving emails
Posted: Sat Feb 10, 2024 3:55 pm
Hi, I have managed to get IMAP settings successfully working in HESK. I am checking the email account and I can see the emails are being read from the mailbox, HOWEVER with debug mode on and using the "https://www.****.co.uk/helpdesk/inc/mail/hesk_imap.php" link this is what it is coming up with and I am unsure on how to fix.
Any help would be gratefully received. I have obviously *** my domain name...
Result of going to "https://www.****.co.uk/helpdesk/inc/mail/hesk_imap.php" in my browser:
#!/usr/bin/php -q
Connected to the IMAP server "outlook.office365.com:993".
Warning: Undefined array key 1 in /var/www/vhosts/****.co.uk/httpdocs/helpdesk/inc/mail/imap/OAuthIMAP.php on line 394
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/****.co.uk/httpdocs/helpdesk/inc/mail/imap/OAuthIMAP.php on line 395
Warning: Undefined array key 1 in /var/www/vhosts/****.co.uk/httpdocs/helpdesk/inc/mail/imap/OAuthIMAP.php on line 396
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/vhosts/****.co.uk/httpdocs/helpdesk/inc/mail/imap/OAuthIMAP.php on line 396
No unread messages found.
Disconnected from the IMAP server.
Any help would be gratefully received. I have obviously *** my domain name...
Result of going to "https://www.****.co.uk/helpdesk/inc/mail/hesk_imap.php" in my browser:
#!/usr/bin/php -q
Connected to the IMAP server "outlook.office365.com:993".
Warning: Undefined array key 1 in /var/www/vhosts/****.co.uk/httpdocs/helpdesk/inc/mail/imap/OAuthIMAP.php on line 394
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/****.co.uk/httpdocs/helpdesk/inc/mail/imap/OAuthIMAP.php on line 395
Warning: Undefined array key 1 in /var/www/vhosts/****.co.uk/httpdocs/helpdesk/inc/mail/imap/OAuthIMAP.php on line 396
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/vhosts/****.co.uk/httpdocs/helpdesk/inc/mail/imap/OAuthIMAP.php on line 396
No unread messages found.
Disconnected from the IMAP server.