Custom SMTP with Google Workspace #5320
-
Beta Was this translation helpful? Give feedback.
Replies: 12 comments 34 replies
-
@ryan-eiv I'm experiencing the same. Did you figure this out? |
Beta Was this translation helpful? Give feedback.
-
i managed to solve it by switching to sendgrid smtp
google smtp stopped working for reasons that remain unknown
…On Sun, May 8, 2022 at 11:08 Feras Aloudah ***@***.***> wrote:
@libovness <https://github.com/libovness> did you manage to solve this
issue? I managed to get rid of the timeout error by changing the SMTP port
to 25. However, I'm now getting an "Error sending magic link" error. Any
thoughts?
Also, @ry-propeller <https://github.com/ry-propeller> how are you sending
the magic links from your own backend? Are you self-hosting your Supabase
instance?
—
Reply to this email directly, view it on GitHub
<#5320 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEVUAVLSK7XVVQR7ECYZLLVI7KGXANCNFSM5NR5Z2PQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
If anyone else runs into this issue with Gmail SMTP I solved mine by using a Google App Password not my accounts default password. This solved it for me! |
Beta Was this translation helpful? Give feedback.
-
@benlammers @ryan-eiv Did you end up using |
Beta Was this translation helpful? Give feedback.
-
Using app password worked for me! |
Beta Was this translation helpful? Give feedback.
-
The only combination that works for me is |
Beta Was this translation helpful? Give feedback.
-
Hey everyone, i've been hearing feedback about how challenging it can be to get google SMTP working properly with Supabase. I've tried setting this up with a trial google workspace account and this is what i've discovered.
I'm also gonna include some screenshots below on what those steps look like: For
|
Beta Was this translation helpful? Give feedback.
-
Just an FYI from someone who has been working with GCP a lot. When you make changes to the SMTP configuration in the admin console the user interface won't tell you this but it is SLOW to take effect, sometimes up to 15 minutes or longer. If you've made all of the changes you think are appropriate, my recommendation is to just wait -- grab some coffee or whatever and then come back to it. This is not the only thing in Google that works this way, but it can be incredibly frustrating if you don't know to expect this behavior. |
Beta Was this translation helpful? Give feedback.
-
If you have a personal gmail account, then the outbound email will ALWAYS have the from field set to your primary email address. But if you have an org, then you can set up an connection using smtp-relay.gmail.com, authenticate using your admin's email address and an app password and then you have flexibility on the from / replyto fields (based on the option you selected when you created the smtp-relay service in google as documented so well above), e.g. you can start using 'noreply@myorg.com' as the replyto address. |
Beta Was this translation helpful? Give feedback.
-
I have free gmail account, can i use this? |
Beta Was this translation helpful? Give feedback.
-
I follow this guide and got this error: How can I fix this issue? |
Beta Was this translation helpful? Give feedback.
-
If anyone is still encountering this (like I was) and needs some more clear directions, I put together a write-up of the solution here: https://www.ramijames.com/labs/supabase-email-authentication-with-google-workspace It boils down to:
|
Beta Was this translation helpful? Give feedback.
Hey everyone, i've been hearing feedback about how challenging it can be to get google SMTP working properly with Supabase. I've tried setting this up with a trial google workspace account and this is what i've discovered.
smtp-relay.gmail.com
only port 465 works. If you want to usesmtp.gmail.com
, you can use port 465 or 587 (both ports worked fo…