Jump to content

How to use WireMail SMTP module with Oauth 2


Recommended Posts

I'm using SMTP successfully with Google and an app password for other clients.

A client has a custom stricter setup and they say they can only use SMTP with Oauth2. I presume this will involve regularly generating access tokens.

Is there any way to make this work with the WireMail SMTP module? There is nothing in the settings.

I need it to work at a global level so all $mail routes through this since I am using the LoginRegisterPro and EmailNewUser modules.

Thanks.

Link to comment
Share on other sites

 

4 hours ago, DrQuincy said:

Is there any way to make this work with the WireMail SMTP module? There is nothing in the settings.

I'd say very unlikely.

Link to comment
Share on other sites

Do you know how to hook into WireMail so I can set this manually? I thought it was based on Swift but I just read that's discontinued now. I'd be able to get it working with Swift but I need it to use WireMail for LRP, EmailNewUser, etc to work. 

Link to comment
Share on other sites

The send() method in WireMailSMTP is hookable, so depending on how your service's Oauth2 requirement works you might be able to create some sort of supplemental solution.

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...