Skip to content

Custom SMTP with Google Workspace #5320

Answered by kangmingtay
ryan-eiv asked this question in Questions
Discussion options

You must be logged in to vote

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.

  1. The sender email and SMTP username has to be your google workspace admin email.
  2. The SMTP password used has to be an app password. Google workspace doesn't make it easy to to figure out how to create this. You need to enable 2FA on your workspace account first (not inside the admin console but in https://myaccount.google.com/)
  3. If you want to use smtp-relay.gmail.com only port 465 works. If you want to use smtp.gmail.com, you can use port 465 or 587 (both ports worked fo…

Replies: 12 comments 34 replies

Comment options

You must be logged in to vote
7 replies
@libovness
Comment options

@FerasAloudah
Comment options

@Verify21
Comment options

@libovness
Comment options

@vincelwt
Comment options

Comment options

You must be logged in to vote
1 reply
@FerasAloudah
Comment options

Comment options

You must be logged in to vote
6 replies
@benlammers
Comment options

@mfaywu
Comment options

@alexbaramilis
Comment options

@ffuyu
Comment options

@vaibhavmundra
Comment options

Comment options

You must be logged in to vote
7 replies
@alexbaramilis
Comment options

@ArianSha
Comment options

@alexbaramilis
Comment options

@ArianSha
Comment options

@alexbaramilis
Comment options

Comment options

You must be logged in to vote
2 replies
@dr-starchildren
Comment options

@hnykda
Comment options

Comment options

You must be logged in to vote
3 replies
@MigotMateusz
Comment options

@kangmingtay
Comment options

@libyandev
Comment options

Comment options

You must be logged in to vote
8 replies
@kangmingtay
Comment options

@mamiu
Comment options

@griiettner
Comment options

@deblanco
Comment options

@nberney
Comment options

Answer selected by kangmingtay
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth All thing Supabase Auth related