title: PHPMailer GMAIL XOAUTH2 with multiple GMAIL accounts for multiple virtual hosts
body: <p>I host a web application that each client uses a different host name. I have successfully configured PHPMailer in the application to allow the client to enter their own SMTP information and send emails. Unfortunately, when the client uses Google's email service, the client needs to configure Gmail to allow less secure email clients. Instead of requiring the client to allow less secure email clients, I would like to use setup XOAUTH2.</p>
  <p>All of the instructions I found setting up XOAUTH2 with Google's APIs, configure one host. I would like to setup XOAUTH2 allow multiple hosts without manually adding a new host to Google's API. Any help is greatly appreciated.</p>