/supabase-tutorials

How to change SMTP settings in Supabase?

Learn how to update Supabase SMTP settings in a few simple steps—access your project settings, configure authentication, and test your email setup.

Matt Graham, CEO of Rapid Developers

Book a call with an Expert

Starting a new venture? Need to upgrade your web app? RapidDev builds application with your growth in mind.

Book a free No-Code consultation

How to change SMTP settings in Supabase?

 

Step 1: Access Supabase Project Settings

 

To change SMTP settings in Supabase, you'll need to access your Supabase project settings first. Follow the steps below:

  • Log in to your Supabase account at https://app.supabase.io.
  • Once logged in, navigate to the dashboard and select your project.
  • On your project overview page, click on the "Project Settings" option in the sidebar.

 

Step 2: Navigate to the Auth Settings

 

Now that you are in the project settings:

  • Inside the project settings menu, look for and click on the "Authentication" section.
  • Under this section, you will find various tabs like "Users", "Templates", and "Settings". Click on "Settings".

 

Step 3: Locate the SMTP Configuration

 

In the "Settings" tab under Authentication:

  • Scroll down to find a subsection labeled "SMTP Settings". This is where you'll configure your SMTP settings for sending emails.

 

Step 4: Enter Your SMTP Settings

 

Enter your SMTP server details:

SMTP Host: smtp.your-email-provider.com
SMTP Port: 587
SMTP User: [email protected]
SMTP Password: your-email-password

Be sure to replace these placeholders with the actual details from your email service provider.

  • SMTP Host: The server address of your SMTP provider.
  • SMTP Port: The port number used for SMTP traffic, typically 465 for SSL or 587 for TLS.
  • SMTP User: Your email address or username for the SMTP server.
  • SMTP Password: Corresponding password for the user's email address.

 

Step 5: Set the From Email Address

 

  • Within the same "SMTP Settings" section, you might need to set a "From email" address. This email will appear as the sender email when your application sends out emails. Enter a verified email address that you intend to use as the sender.

 

Step 6: Configure Additional Email Options

 

Some providers allow for additional SMTP configurations such as securing the connection with TLS/SSL or defining additional headers. If applicable:

  • Set the "Secure" setting to true for SSL/TLS connections or false for unsecured ones.
  • Consult your SMTP provider's documentation for any additional settings.

Here's an example configuration if additional settings are needed:

Secure: true
Require TLS: true

 

Step 7: Save the Changes

 

  • After entering all the necessary details, ensure that you click on the "Save" button to apply the changes.
  • Your Supabase project should now be configured to send emails using the specified SMTP server.

 

Step 8: Test the SMTP Configuration

 

To ensure that your SMTP settings are correct:

  • Trigger an authentication-related email event, such as a password reset or sign-up email, to verify if your application correctly sends an email.
  • Check both the Supabase logs and your email server logs to verify successful email dispatch.

 

Step 9: Troubleshoot Any Issues

 

If you encounter issues with your email delivery:

  • Double-check the SMTP settings you entered for any inaccuracies.
  • Ensure that your SMTP credentials are correct and the server is not blocking connections.
  • If email delivery fails, consult your email provider's documentation for possible issues such as IP whitelisting or account restrictions.

 

Want to explore opportunities to work with us?

Connect with our team to unlock the full potential of no-code solutions with a no-commitment consultation!

Book a Free Consultation

Client trust and success are our top priorities

When it comes to serving you, we sweat the little things. That’s why our work makes a big impact.

Rapid Dev was an exceptional project management organization and the best development collaborators I've had the pleasure of working with. They do complex work on extremely fast timelines and effectively manage the testing and pre-launch process to deliver the best possible product. I'm extremely impressed with their execution ability.

CPO, Praction - Arkady Sokolov

May 2, 2023

Working with Matt was comparable to having another co-founder on the team, but without the commitment or cost. He has a strategic mindset and willing to change the scope of the project in real time based on the needs of the client. A true strategic thought partner!

Co-Founder, Arc - Donald Muir

Dec 27, 2022

Rapid Dev are 10/10, excellent communicators - the best I've ever encountered in the tech dev space. They always go the extra mile, they genuinely care, they respond quickly, they're flexible, adaptable and their enthusiasm is amazing.

Co-CEO, Grantify - Mat Westergreen-Thorne

Oct 15, 2022

Rapid Dev is an excellent developer for no-code and low-code solutions.
We’ve had great success since launching the platform in November 2023. In a few months, we’ve gained over 1,000 new active users. We’ve also secured several dozen bookings on the platform and seen about 70% new user month-over-month growth since the launch.

Co-Founder, Church Real Estate Marketplace - Emmanuel Brown

May 1, 2024 

Matt’s dedication to executing our vision and his commitment to the project deadline were impressive. 
This was such a specific project, and Matt really delivered. We worked with a really fast turnaround, and he always delivered. The site was a perfect prop for us!

Production Manager, Media Production Company - Samantha Fekete

Sep 23, 2022