Setting Up Email Server

Chapter 1:

Step 1 - Set Up Environment Variables

To send emails, you need to configure your environment variables. In the root of your project, create or update the .env file with the following values:

EMAIL_SERVER_HOST=smtp.your-email-provider.com
EMAIL_SERVER_PORT=587
EMAIL_SERVER_USER=your-email@domain.com
EMAIL_SERVER_PASSWORD=your-email-password
FULL_URL=https://your-domain.com

These environment variables are required to connect to your SMTP email service and define your application’s base URL.

Make sure to replace the placeholder values with the actual credentials provided by your email service provider.

Last updated