Back to Spree

Emails

docs/developer/customization/emails.mdx

5.4.2574 B
Original Source
<Note> Emails are now part of `spree_emails` gem. If you use `spree_starter` you already have it installed. </Note>

Overview

Spree uses postmark templates, as a base for all transactional emails.

Email previews

Spree offers an emails preview generator for development purposes. To generate them, use the command:

bash
bin/rails g spree:emails:install

After that, start the rails server locally and go to: localhost:3000/rails/mailers

(it requires a seeded development database in order to work properly)