Skip to content

How it works ​

Flexible Email Form Integration with Total Control

The email form provides complete freedom over your form's markup and offers an easy way to handle email delivery.

  1. Form Creation: Start by creating HTML form elements such as <input /> inside the {exp:reinos_email_form:form} tag to build your form. This can be a simple or an complex form, it really depends on your needs.
  2. Email Templates: You define email templates using the {email_template} syntax within the {exp:reinos_email_form:form} tag.

In some scenarios, you might want to send one email template to the admin and a different one to the user, with varying styles or content. By using the {email_template} tag, you can handle these variations effortlessly. It’s common to see two {email_template}tags in such cases.

Dynamic Data Transfer ​

When a user submits a form, all posted data is seamlessly transferred to the {email_template} tagpair. For example:

If you have a form field with <input name="address" />, its value will be available as the variable {address} inside the {email_template}.

Special Parameters ​

Some parameters have special functionality, like {to:name}.

If you set to:name="John Doe" in {email_template to:name="John Doe"}, this parameter will be converted into the {to:name} variable within the {email_template}. This approach ensures both flexibility and clarity in managing your email forms and templates.

In the example tab you'll find a fully working example.