php-imap-client icon indicating copy to clipboard operation
php-imap-client copied to clipboard

Feature request to connect using auth token

Open animi4695 opened this issue 7 years ago • 4 comments

Feature request or bug

Instead of password, is there any compatibility to connect with auth token.

animi4695 avatar May 26 '18 06:05 animi4695

Ive never heard of a mail server with auth tokens? Can you explain what your trying to do?

mattparksjr avatar May 26 '18 11:05 mattparksjr

I am trying to get the mails from yahoo using Imap with Xaouth2. Using this link, I got the access token... https://developer.yahoo.com/oauth2/guide/flows_implicitgrant/

Now I contacted yahoo support and they said you need to pass that token to imap instead of password.. I saw the git repos which are fetching gmail messages using XOauth.

animi4695 avatar May 26 '18 11:05 animi4695

I will look into this. Link to other repo?

mattparksjr avatar May 26 '18 12:05 mattparksjr

https://github.com/emailjs/emailjs-imap-client

Thanks. Really appreciate the help... :)

animi4695 avatar May 26 '18 12:05 animi4695