SSilence / php-imap-client

a easy solution for simple IMAP email access in php
MIT License
268 stars 138 forks source link

Feature request to connect using auth token #222

Open animi4695 opened 6 years ago

animi4695 commented 6 years ago

Feature request or bug

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

mattparksjr commented 6 years ago

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

animi4695 commented 6 years ago

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.

mattparksjr commented 6 years ago

I will look into this. Link to other repo?

animi4695 commented 6 years ago

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

Thanks. Really appreciate the help... :)