DrQuincy Posted June 6, 2025 Posted June 6, 2025 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.
elabx Posted June 6, 2025 Posted June 6, 2025 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.
DrQuincy Posted June 7, 2025 Author Posted June 7, 2025 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.
Robin S Posted June 7, 2025 Posted June 7, 2025 Have you looked at this module? https://processwire.com/modules/wire-mail-gmail/ 1
DrQuincy Posted June 7, 2025 Author Posted June 7, 2025 Thanks, yes. The idea of it is great but the SMTP provider is not Google. It's a lesser known one.
BrendonKoz Posted June 9, 2025 Posted June 9, 2025 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. 2
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now