That's all I need to do, in order for it to work. In case of shared mailbox access using OAuth, application needs to obtain the access token on behalf of a user but replace the userName field in the SASL XOAUTH2 encoded string with the email address of the shared mailbox. But I need to access shared mailbox, that account has access to. Oauth login successful and both SMTP/IMAP connection tests passed for accounts main mailbox. I recently configured oauth authentication for my software in order to fetch/send emails from my outlook or office365 account.
0 Comments
Leave a Reply. |