Each form can send two emails: one to you for every entry, and an optional confirmation to the visitor. Both are set per form, on the builder's Settings tab. Both are plain text. AriForms sends them through WordPress's own mail function.
Step 1: Choose who gets the email to you
Open the form in AriForms→All forms, then the Settings tab. Under Email to you, Email me when someone sends this form is on by default.
- Send to: leave it empty to use the site admin address, shown as the example in the box. To send to several people, separate the addresses with commas. Up to 10 addresses are kept.
- Subject: the default is
New entry: {form_title}. - Message: the default is
{all_fields}, every answer with its label.
The email starts with New entry from the form "…":. When the entry is saved, it ends with View this entry: and a link to the entry. When the form has an email field, replies go straight to the visitor.
Can I turn the email off?
Yes, untick Email me when someone sends this form. That only works while Save entries in the database is on. Without saved entries the email is the only copy of a message, so AriForms keeps it on.
Step 2: Add smart tags
Click Insert a smart tag below a subject or message box and pick a tag. It is put where your cursor is. The list has one
{field:…}tag for each field in the form, plus these:Tag Replaced with {field:name}The answer to one field. Use the field's Field name, found under Layout and advanced in the field settings. {all_fields}Every field with its label. Hidden fields and fields hidden by conditional logic are left out. {form_title}The form title. {site_name}The site title. {site_url}The site address. {entry_id}The entry number. Empty when entries are not saved. {date}The date and time of the submission. Smart tags also work in the Thank-you message under After sending. Tags a visitor types in an answer are never expanded.
Step 3: Send a test email
- Under Email to you, click Send a test email. It uses the settings on screen, even before you save, with made-up answers. The subject starts with
[Test]. - When WordPress accepts it, you see Sent to and the address. Not there in a few minutes? Check the spam folder.
- If you see WordPress could not send the email. Your host may block PHP mail: install an SMTP plugin, then try again., set up an SMTP plugin or your host's mail service and test again.
Emails arrive for the test but not for entries?
Open the entry in AriForms→Entries and look at Email to you in the Details box. If it says Not sent: WordPress could not send it, click Try sending the email again after you fix the mail setup.
- Under Email to you, click Send a test email. It uses the settings on screen, even before you save, with made-up answers. The subject starts with
Step 4: Send a confirmation to the visitor
The form needs an Email field for this. Without one, the section says Add an Email field to the form to use this.
- Under Confirmation email to the visitor, tick Send a confirmation to the address the visitor typed in. It is off by default.
- Change the Subject (default We received your message) and the Message. The default message thanks the visitor on behalf of
{site_name}. - Click Save.
When the visitor replies, the reply goes to the first address in Send to, or to the site admin address.
To stop spammers from using your form to send messages to others, answers in this email are shortened to 200 characters, and anything that looks like a web address is replaced with
[link removed]. Email addresses are kept.
Files and emails
When entries are saved, the email to you has no attachments; download files from the entry. When Save entries in the database is off, uploaded files are attached to the email to you and are not kept on the site.
Still stuck?
Our helpdesk answers on working days, Norwegian time. Include your WordPress version, PHP version, AriForms version, any SMTP plugin you use and the page address.