Email templates(ISPmanager)

An email template is a predefined text message with macros that can replaced by corresponding values when sending an e-mail to users.

If you need to create messages with similar configuration, you can create an email template and use it as the basis for creating new message.

The email templates are kept in the files that are located in the etc/dist subdirectory of the directory, in which the control panel is installed:

  • - for administrator accounts.
  • - for reseller accounts.
  • - for user accounts.
  • password.recovery - ISPmanager password recovery instruction.
In this module you can customize various messages and notifications for newly created user, reseller or administrator accounts.
Module «Email templates»
Image:T-bullet.gif View a list of templates
Image:T-edit.png Edit template

View a list of templates

  • Template name - name of the message template.

Edit template

To edit the template, select it from the list, click the "Edit" icon and fill out the form:

Module «Email templates»
  • Sender - provide an e-mail address to send the message.
  • Subject - enter a subject.

Message macros

There are several macros that you can use in your messages:

  • __email__ - message will be sent to this e-mail address.
  • __name__ - account name (username).
  • __note__ - additional information related to this account.
  • __passwd__ - password.

Following are macros that can only be used for administrator email templates:

  • __uid0__ - system user with UID 0 was created for this administrator.

Following are macros that can only be used for user email templates:

  • _domain__ - name of a WWW domaindomain zone and mail domain created for the user (if the value was specified when creating the account).
  • __owner__ - reseller's name (the account's owner).

Following are macros that can only be used for user and reseller email templates:

  • __bandwidthlimit__ - monthly traffic limit.
  • __baselimit__ database limit.
  • __baseuserlimit__ - database user limit.
  • __cgi__ - CGI can be used for this user.
  • __disklimit__ - disk space limit.
  • __domainlimit__ - maximum number of domains for this user.
  • __ftplimit__- maximum number of FTP accounts for this user.
  • __ip__ - IP-address assigned to the user's WWW domains.
  • __maildomainlimit__ - mail domains limit.
  • __maillimit__ - mailboxes limit.
  • __phpcgi__ - enable/disable PHP as CGI for the WWW domains of the user.
  • __phpfcgi__ - enable/disable PHP as FastCGI for the WWW domains of the user.
  • __phpmod__ - enable/disable PHP as an Apache module for the WWW domains of the user.
  • __preset__ - name of the preset that was used to create a user account.
  • __shell__ - enable/disable shell access.
  • __ssi__ - enable/disable SSI for the WWW domains of the user.
  • __ssl__ - enable/disable SSL for the WWW domains of the user..
  • __webdomainlimit__ - maximum number of WWW domains for this user.

Please note! If you are using macros in your preset and the corresponding parameter is not used when creating the account, the macro in the message will not be changed.

Was this answer helpful?

 Print this Article

Also Read

Postfix configuration file

Example of the postfix/ configuration file Following is the example of Postfix...

Integration with ISPmanager

Add a new user in DNSmanager for each server running ISPmanager. Disable apparmor or...

Software licensing policy

ISPsystem software products v.5 have a new licensing policy. There are two ways for activating...

How to restore data in ISPmanager 5

Data recovery consists of several steps. Input parameters: version includes the data,...

How the Firewall module works

Introduction Firewall is a standard security system for operating systems on which ISPmanager is...