how to send emails with gmail and oauth2?

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
lamorte1977
User
Posts: 95

how to send emails with gmail and oauth2?

Post by lamorte1977 »

Hi any idea how to use google oauth2 (with json file and auth token) to send emails (for reset passwords, audit) instead of smtp username/password?

Which files do i need to modify?

Thanks


arbei
User
Posts: 9719

Post by arbei »

There is no such feature in PHPMaker, which uses SMTP only.


lamorte1977
User
Posts: 95

Post by lamorte1977 »

thanks for reply, is there a way to implement this manually?


arbei
User
Posts: 9719

Post by arbei »

You can

  1. Use Email_Sending server event to send emails in your own way and return false to abort the original email sending, or
  2. Use Custom Files to replace the Email class by your own, or
  3. Make your own extension to replace the Email class by your own.

Post Reply