Skip to content

Sending emails from app for multiple gmail users #2956

Closed Answered by dgvirtual
dgvirtual asked this question in Q&A
Discussion options

You must be logged in to vote

So I have followed through the guide at https://github.com/PHPMailer/PHPMailer/wiki/Using-Gmail-with-XOAUTH2

I have found out that it is entirely possible to achieve what I want (provide my app users a way to send emails to their own clients using their own gmail smtp credentials directly from my app). I have successfully sent emails from my web page using different Google accounts after setting up only one app on Google Cloud. And the authorization of my app to send email on behalf of the users can be programmed to be performed by the users themselves, without my intervention.

What was confusing me previously was the not entirely clear gmail_xoauth.php file and documentation in wiki.

It …

Replies: 5 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@dgvirtual
Comment options

@Synchro
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Synchro
Comment options

@dgvirtual
Comment options

Comment options

You must be logged in to vote
1 reply
@dgvirtual
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by dgvirtual
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants