Reaction sends emails for a variety of reasons (user signup, password reset, order receipts, etc.), so you will need to configure an email provider to send emails.
This guide will cover how to set up your transactional emails with a supported provider and how to define your own custom settings.
Configuring your email provider
Once logged in as a shop admin, under Actions, click the Email icon.
Using a provider preset
- Create an email provider account and get your SMTP credentials. In this example, we will use Mailgun. See the Mailgun documentation.
- Go to the Reaction dashboard and click the envelope icon to open your email settings.
- Under Mail Provider, click the gear icon to open the Edit Settings menu.
- Click the Provider Name dropdown menu and search for your email provider. In this example, choose Mailgun.
- Fill out your User and Password from your provider. Click Save.
Using custom settings
If your preferred mail provider is not in the list, you can configure your own custom SMTP settings. Any SMTP server is supported, including self-hosted.
- Select Custom from the services dropdown menu.
- Fill out the Host and Port fields, along with the User and Password fields. Click Save.
You can override all of the above mail settings by setting the
MAIL_URL environment variable to an SMTP URL.
Verifying your email settings
Once you save your Mail Provider credentials, Reaction will immediately test your settings.
If the verification succeeds, the settings will save and the Status indicator change under Mail Provider will change from red to green.
Reaction is now ready to send emails!
Checking email logs
Confirming email status
Once your shop is sending emails, a log will appear for each transactional email.
Resending a failed email
If an email fails to send, you will see a button that will allow you to attempt to resend the failed email. Emails are scheduled with a job queue, so failed emails will automatically attempt to resend up to 5 times, with 3 minutes between each retry.