Setup mail templates and mail configuration


Shopware 6 sends different emails on different purposes. E.g for the registration of a customer or as an order confirmation. To prevent your system from accidentally sending mails while it is not live, no mail template is assigned to a sales channel by default.


First you need to make sure that you have a correct MAILER_URL set. This has been configured during the setup process and is stored in the .env file in the root directory. Then you need to setup your email address for outgoing mails in the administration (Settings->Basic information->Shop owner email address). After that the mail template which should be sent have to be assigned to the sales channel. (Settings->Email templates->Template->edit->Sales Channels)

Now your shop is set up to send mails for the given events.

Change email templates

You can change any Email template in the administration as well. Just go to the Email templates (Settings->Email templates->Template->edit) and change the content of the templates in the plain and HTML boxes.

Was this article helpful?

Version or newer