
How I configured emails for ISPsystem
Step 1. Design


Step 2. Coding
Please note: you cannot use CSS separately for email template design in BILLmanager. It will make difficult for you to work with the code because every HTML tag can contain dozens of CSS specifications, so the whole structure will be difficult to read.
We use Zurb Foundation. This framework facilitates creating our emails
Step 3. Creating templates and adding variables


- Select a template and click Test on the toolbar.
- Enter the data to generate an email.
- An email draft will open. At the bottom of the page, you can see the Source section that lists all the data of this template.

Step 4. Testing and tuning-up




- misspelling;
- a selected variable cannot be used in that template;
- invalid operation due to external factors.
Unevident details with unsubscription button
The “Unsubscribe” button link will unsubscribe only from certain emails

E.g, a client received the email “New invoice” this is a financial notification. Clicking “Unsubscribe” will unsubscribe him only from financial emails, but he will receive notifications from the Support center, notifications about his services, etc.
Notifications that clients cannot unsubscribe from
- client registration,
- email confirmation,
- password change,
- payer activation,
- other system notifications.
When cmdhash in the unsubscribe link is not defined

<% if (typeof cmdhash !== 'undefined') { %>
<a href="<%= billurl %>?func=unsubscribe&cmdhash=<%= cmdhash %>”>Unsubscribe</a>
<% } %>