Closed KodaCHC closed 2 years ago
I am trying to connect to Microsoft right now.
$server = 'outlook.office365.com'; $username = 'myusername'; $token = 'xxxxxxx'; require_once('./javanile/php-imap2/vendor/autoload.php'); $mbh = imap2_open($server, $username, $token, OP_XOAUTH2); if (!$mbh) { error_log(imap_last_error()); throw new \RuntimeException('Unable to open Google INBOX'); }
Now i get this error Undefined array key "host"
Undefined array key "host"
The problem is the content of $mailboxParts
$mailboxParts
Array Content:
Array ( [path] => Array ( [0] => utlook.office365.com ) [mailbox] => )
Hi @KodaCHC , please refer to this examples for the exact Microsoft Outlook solutions
I am trying to connect to Microsoft right now.
Now i get this error
Undefined array key "host"
The problem is the content of
$mailboxParts
Array Content: