Accessing Shared Mailboxes in Office365 with PHP
After a lot of trying&failing, this setup worked for me when connecting to a shared mailbox in office365:
- As the username, use "your_username\shared_mailbox_alias" (your_username needs access to the shared mailbox of course)
- Add the extended option 'DISABLE_AUTHENTICATOR' => 'PLAIN'
Example:
$conn = imap_open(
"{outlook.office365.com:993/imap/ssl}Inbox",
'username@domain.com\shared_mailbox_alias',
'mypassword',
OP_READONLY,
1,
array('DISABLE_AUTHENTICATOR' => 'PLAIN')
);
Syncing Exchange with iPad does weird things to my appointments
After importing an US iPad, and syncing it to my Exchange my appointments were 10 hours off. Due to some weird US city name being default, I overlooked one setting that put everything right. Why it's not set to automatic beats me:
http://www.theiphoneguru.net/2010/01/18/fix-iphone-calendar-appointments-2-or-3-hours-off/
Test Exchange Settings
Test your Exchange server:
https://www.testexchangeconnectivity.com/
Updating self-signed certificate on Exchange 2007
Had to update the self-signed certificate to a new permanent temporary one 🙂 on my exchange-test installation. Followed the guide at exchangepedia - worked like a charm:
http://exchangepedia.com/blog/2008/01/exchange-server-2007-renewing-self.html