Skip to content
This repository was archived by the owner on Aug 3, 2025. It is now read-only.

Setting up

Juansecu edited this page Aug 21, 2023 · 1 revision

SMTP Server

This application can use any SMTP (Simple Mail Transfer Protocol) server than meets the requirements described in requirements section in the README.md file.

For configuring the SMTP server in the application, you will have to configure the MAIL_SERVER_* environment variables. By default, this application will try to connect to the Google's SMTP server to send emails. Thought it is not the recommended approach, this guide will explain you step by step to set up the MAIL_SERVER_* environment variables using you personal Gmail account.

  1. First of all, take in count the limits of the Google's SMTP server.
  2. Set up the environment variable MAIL_SERVER_USERNAME with you personal Gmail account address as value.
  3. Go to your Google account preferences, then go to Security > App passwords > Provide your login password, generate an app password by selecting App with a custom name and click on Generate.
  4. Set up the environment variable MAIL_SERVER_PASSWORD with the generated app password in the previous step as value.

That's all! The application is ready to connect to the Google's SMTP server by using your personal account.

Note: It's highly recommended you have a custom email address with your own domain to send emails.

Clone this wiki locally