Email templates in Osclass define the contents of automated messages sent to users. These templates may be created by core or by plugins. They cannot be removed but can be edited to customize wording or localize content.
Email templates management
Template Listing
Title: A descriptive label that often appears in the email's subject line, such as {WEB_TITLE} - Someone has a question about your listing or Please validate your {WEB_TITLE} account.
Internal name: A unique identifier like email_item_inquiry or email_user_validation. This name is used by the system to send the right email at the right time.
Create date: Indicates when the template was initially generated or installed, e.g. 2020-10-06 20:03:58.
Editing a Template
Title: The subject line used when sending the email, for example {WEB_TITLE} - Registration successful!. Adjust this to provide clarity or branding.
Internal name: Shown as a read-only or locked field. Identifies the template within the system. It’s recommended not to modify this.
Description: The main body of the email. Edited using a text editor (like TinyMCE). You can include HTML tags, links, or styling as needed.
Placeholders (Variables): Dynamic fields that Osclass replaces with real data when sending the email. Common placeholders include:
Do not remove or rename these placeholders unless you’re sure you no longer need them. They will be replaced by actual values at runtime.
Edit email template
Testing Emails
Use the Test it button in the email edit screen to send a sample message to your email address. This verifies formatting and placeholder usage.
Make sure your Osclass installation can properly send emails (mail server configuration or SMTP) before testing.
Important Notes
Templates can be edited but cannot be removed. Some templates are necessary for core site functionalities (e.g., account validation, listing inquiries).
Plugins may introduce additional templates with their own placeholders. If you disable or remove a plugin, its templates may no longer be in use.
Keep subjects and content user-friendly and relevant to your site’s audience. You can also localize or translate them for multi-language support.
After making changes, click Save changes to store updates. It is always best to send a test email to confirm the final layout and placeholder substitutions.