E-mail notifications
JoomIdentity can send three e-mails. Each one uses an e-mail template and is sent by a plugin.
| To | Sent by plugin | Plugin field | |
|---|---|---|---|
| A user uploaded a file | The administrator | Joomidentity - Admin Mail | Send after upload |
| The user is verified | The user | Joomidentity - User Mail | Send when verify |
| The administrator left a note on a file | The user | Joomidentity - User Mail | Send when leave notice |
1. Install the templates
- Open Components > JoomIdentity and click E-mail Templates in the sidebar.
- Click Import in the toolbar, then Install Premade Templates.
- Go to the Placeholders list, click Import, then Install Premade Templates again.
You now have three templates: "[ADMIN] Mail to administrator when user upload a file.", "[USER] Notification to user when the admin verify his identity." and "[FILE] Leave note".
2. Edit a template
Open a template to change it.
| Field | What it does |
|---|---|
| Title | The name of the template in the lists. |
| Subject | The subject of the e-mail. |
| Sender Name and Sender Mail | The sender. Empty uses the sender of your Joomla mail settings. |
| Body | The text of the e-mail. |
| Category | Optional, to sort your templates. |
3. Enable the plugins
- Open Extensions > Plugins and search for joomidentity.
- Open Joomidentity - Admin Mail, choose the template in Send after upload, set E-Mail Mode to HTML or Plain, set Status to Enabled and save.
- Open Joomidentity - User Mail, choose templates in Send when verify and Send when leave notice, set the E-Mail Mode, enable it and save.
Placeholders
These codes are replaced in the Subject and Body:
| Placeholder | Replaced with | Upload | Verify | Note |
|---|---|---|---|---|
{SITE_NAME} |
The name of your site | yes | yes | yes |
{SITE_URL} |
The address of your site | yes | yes | yes |
{USER_NAME} |
The user's name | yes | yes | yes |
{USER_EMAIL} |
The user's e-mail | yes | yes | yes |
{ITEM_TITLE} |
The title of the file | yes | no | no |
{ITEM_URL} |
A link to the file in the administrator | yes | no | no |
{NOTE} |
The text of the note | no | no | yes |
{FILENAME} |
The stored file name | no | no | yes |
{ADMINISTRATOR_NAME} |
The sender's name | no | yes | yes |
{ADMINISTRATOR_EMAIL} |
The sender's e-mail | no | yes | yes |
The Placeholders list after import spells the last two as {ADIMINSTRATOR_NAME} and {ADIMINSTRATOR_EMAIL}. Use the spelling in the table above in your templates.
For plain text e-mails, end each line with <br /> if you want a line break.
Sender and recipient
- The upload e-mail goes to the user chosen in Administrator in the options. Without one, it goes to the mail address of your Joomla mail settings.
- The user e-mails are sent from the Administrator user when one is chosen, otherwise from the template's sender or your Joomla mail settings.
Things to know
- Do not put identity data that the user sent into the e-mails. E-mail is not encrypted.
- Templates can also be exported and imported as XML files with Export and Import.
- If no e-mail arrives, check that the plugin is enabled, that a template is chosen and that Joomla can send mail with System > Global Configuration > Server > Send Test Mail.