Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gmail XOAUTH2 with access_token #2769

Closed
suzukazehr opened this issue Sep 15, 2022 · 1 comment
Closed

Add gmail XOAUTH2 with access_token #2769

suzukazehr opened this issue Sep 15, 2022 · 1 comment

Comments

@suzukazehr
Copy link

suzukazehr commented Sep 15, 2022

Can you add feature Gmail XOAUTH2 with access token?
Access token expires in short time, it is safe, while refresh token (OAuth2 provider) is not so, it is not suitable for some environments.
Thank!

@Synchro
Copy link
Member

Synchro commented Sep 15, 2022

This is entirely up to the OAuth library that you use with PHPMailer, not PHPMailer itself. Consult their documentation for how to use a refresh token to get an access token. PHPMailer will just use what you give it.

@Synchro Synchro closed this as completed Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants