The Emails Tab
When a user submits your form, you have the option to send him, or to your administrators a notification message. This message can be sent to more than one person at a time. Also this e-mail message can contain all of the data that the customer provided upon ad submission.
Just to make you understand better how the Emails tab works, we detailed the guide on each field that you find in the Emails tab.
Email Form data to
Note that you must type something in the Email Form Data To in order to make the e-mails feature work.
Here you can define the recipients of the email. You can add multiple e-mail addresses separated by comma(,). Since you will probably want to send this e-mail to the user that submitted the form, you will have to add here the placeholder {emailaddress} if you have a field in the form with the id=emailaddress.
Placeholders that you can use here:
If your form has these fields: lastname, firstname, emailaddress, phone, city
- {lastname} - will output the value that the user typed in the lastname field
- {firstname} - will output the value that the user typed in the firstname field
- {emailaddress} - will output the user's email
- {phone} - will output the user's phone
- {city} - will output the user's city
{emailaddress},administrator@mywebsite.com
where administrator@mywebsite.com is your own address, if you want to receive a copy.
Email form data from
Note that you must type something in the Email form data from in order to make the e-mails feature work.
When sending an e-mail, in order to have a reply-to, you must set the Email form data from. This field is generally filled with your default Joomla configuration e-mail. Change it to fit your needs. This field also accepts placeholders, so you will be able to type {emailaddress} if your form contains an "emailaddress" field id.
Email From Name
Note that you must type something in the Email From Name in order to make the e-mails feature work.
By default this field is filled with the name of your website defined in the Joomla Configuration.
If your form has these fields: lastname, firstname, email, phone, city
You can use the following placeholders:
- {lastname} - will output the value that the user typed in the lastname field
- {firstname} - will output the value that the user typed in the firstname field
- {email} - will output the user's email
- {phone} - will output the user's phone
- {city} - will output the user's city
You can also use a number of global placeholders:
- {jos_sitename} - will output the name of your site that you configured in Joomla
- {jos_siteurl} - will output the http address of your site
- {jos_userip} - will output the user's IP address
- {jos_user_id} - will output the user's ID if the user is registered, or null if not.
- {jos_username} - will output the user's username if the user is registered, or null if not.
- {jos_email} - will output the user's email address(the one that he configured on registration) if the user is registered, or null if not.
Email Subject
This is the e-mail subject.
Note that you must set a subject in order to make the e-mails feature work.
It can be customized with your form's fields ids and with global placeholders.
Email Mode
This switch tells the Mail send function whether to send the e-mail in text format or in html format.Email Text
Note that you must NOT leave this field empty in order to make the e-mails feature work.
This is the body of your email. It can be customized with your form's fields ids and with global placeholders. For instance you could make it something like:«Dear {firstname} {lastname},
Your ad has been successfully stored and we will review it.»
Where firstname, lastname are field ids in your form.
To make things clear, if your form has these fields: lastname, firstname, email, phone, city
You can use the following placeholders:
- {lastname} - will output the value that the user typed in the lastname field
- {firstname} - will output the value that the user typed in the firstname field
- {email} - will output the user's email
- {phone} - will output the user's phone
- {city} - will output the user's city
You can also use a number of global placeholders:
- {jos_sitename} - will output the name of your site that you configured in Joomla
- {jos_siteurl} - will output the http address of your site
- {jos_userip} - will output the user's IP address
- {jos_user_id} - will output the user's ID if the user is registered, or null if not.
- {jos_username} - will output the user's username if the user is registered, or null if not.
- {jos_email} - will output the user's email address(the one that he configured on registration) if the user is registered, or null if not.
2 persons found this article helpful.