Email Templates
Create branded HTML email templates with dynamic field placeholders for your form submissions.
Creating a Template
- Go to DSMTP → Templates in your WordPress admin.
- Click Add New.
- Enter a name for internal reference.
- Set the subject line (can be overridden per form assignment).
- Write your email body in HTML or plain text.
Dynamic Placeholders
Use {[field_name]} placeholders in your template to insert form field values dynamically. For example, a contact form template might look like:
<h2>New Contact Form Submission</h2>
<p><strong>Name:</strong> {[your-name]}</p>
<p><strong>Email:</strong> {[your-email]}</p>
<p><strong>Message:</strong></p>
<p>{[your-message]}</p>
Placeholder names correspond to the field names in your form plugin.
Live Preview
Before activating a template, use the Preview button to see how it renders. The preview shows your template with sample data so you can verify the layout and placeholder placement.
Activating a Template
Only one template can be active at a time. Click Activate on the template you want to use as the default for form assignments.
HTML vs Plain Text
DSMTP supports both HTML and plain text versions of your email. If a recipient's email client doesn't support HTML, the plain text version is used automatically.
Subject Line Overrides
When assigning a template to a form, you can override the default subject line per assignment. This is useful when different forms should send emails with different subjects.