Setting Up Email Notifications
To enable email notifications with Mailgun in your Startup Template project, follow these steps to obtain the necessary environment variables.
Last updated
Was this helpful?
To enable email notifications with Mailgun in your Startup Template project, follow these steps to obtain the necessary environment variables.
Last updated
Was this helpful?
Sign Up for Mailgun:
Go to and sign up for an account.
Set Up Your Domain:
After signing up, set up your within the Mailgun dashboard.
Retrieve Your Domain Information:
Once your domain is set up, navigate to your domain settings in the Mailgun dashboard.
Get Your Domain Details:
Note down your Mailgun domain, sender email address.
Open Your .env File:
Open your project's .env
file.
Add Mailgun Environment Variables:
Add the following variables to your .env
file:
Here is an example of what your .env
file should look like after adding Mailgun environment variables:
Save Your Changes:
Save the changes to your .env
file.
Restart Your Server:
If your server is already running, restart it to apply the changes.
Test Email Notifications:
Verify that email notifications are working as expected in your project.
Happy coding!
Generate Mailgun API key from page.
If you have any feedback or run into any issues, don't hesitate to reach out at .