# 1. Description

When a customer submits a form, by default only the shop owner receives an e-mail with the summary. With this plugin you get the possibility to send automatic confirmation emails to the customer, if he has completed and sent a form.

You can use the Shopware backend module for email templates to create new templates and link them to your forms. In your templates you can use the fields and their names and also the values filled in by the customer. The important thing is that your form contains a field of the type "email", because the confirmation email is sent to the email address entered there. Without an e-mail field, the plugin can not know where to send the confirmation e-mail.

If a form has multiple e-mail fields, the confirmation e-mail will be sent to the address entered in the first e-mail field. Position your fields accordingly.

You can decide yourself which form is linked to which mail template. On forms without a linked template no mail will be sent to the customer.

The plugin is also compatible with sub and language shops. If the translation is present for the mail template, the sender receives the confirmation mail in the language that is configured for his current shop.

The plugin requires at least PHP 5.6. It was developed and tested for Shopware 5.3.0 to 5.6.x. Should you notice any bugs, I'll be happy if you let me know about it via the Shopware support tool. If you have a suggestion for improvement or individual adjustment wishes, you can contact me via moritz@momocode.de.

## Compatibility with other plugins

### BogxEmbeddedForm (Formulare Widget)

With the BogxEmbeddedForm Plugin you can add forms e.g. to emotions. I have added a compatibility to this plugin. So you can use confirmation mails for forms of this plugin, too. However, please note that compatibility with other plugins is not guaranteed for every version of the plugin because you have no control over what other developers do with their plugins. The BogxEmbeddedForm was tested in version 3.3.2. If you have a version that is no longer compatible with my plugin, please contact me at moritz@momocode.de.

## You also want to send a HTML email to the recipient of a form?

With my plugin "HTML Mail for Forms" this is possible. The plugin also sends the recipient a mail with a selected email template. Take the opportunity and purchase directly both plugins in one bundle!
