Difference between revisions of "M4 Emails"

From Kolmisoft Wiki
Jump to navigationJump to search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=What are Emails?=
=What are Emails?=


This function is used to send emails to your clients. It can be used to send commercials, notes about service unavailability or anything else – maybe Christmas greetings!
This function is used to send emails to your clients. It can be used to send commercials, notes about service unavailability, or anything else – maybe Christmas greetings!
<br><br>
<br><br>


Line 8: Line 8:
This function can be found in '''MAINTENANCE –> Emails'''
This function can be found in '''MAINTENANCE –> Emails'''
<br><br>
<br><br>
Here you see emails which are templates for emails about various system messages.
Here you see emails that are templates for emails about various system messages.
<br>
<br>
* '''invoices''' - customer will get his [[Invoices|Invoice]] files when they are will be sent [[Invoices#Send_invoices_by_email_.28manual.29|manually]].
* '''invoices''' - customer will get his [[Invoices|Invoice]] files when they are will be sent [[Invoices#Send_invoices_by_email_.28manual.29|manually]].
* '''warning_balance_email''' - User will get when balance becomes lower than [[Warning balance]].
* '''warning_balance_email''' - User will get when balance becomes lower than [[Warning balance]].
* '''block_when_no_balance''' - will be sent after account is blocked due insufficient balance.
* '''block_when_no_balance''' - will be sent after the account is blocked due to insufficient balance.
* '''password_reminder''' - will be sent after MOR has received a [[MOR forgot user password|User password reminder]] request.
* '''password_reminder''' - will be sent after M4 has received a [[MOR forgot user password|User password reminder]] request.
* '''warning_balance_email_local''' - Admin or/and Manager gets warning when Users' balance becomes lower than [[Warning balance]].
* '''warning_balance_email_local''' - Admin or/and Manager gets a warning when Users' balance becomes lower than [[Warning balance]].
*'''payment_confirmation''' - User will get when payment is made.
*'''payment_confirmation''' - User will get when payment is made.
*'''warning_balance_email_local2''' - User will get when balance becomes higher than [[Warning balance]].
*'''warning_balance_email_local2''' - User will get when balance becomes higher than [[Warning balance]].
* '''server_low_free_space''' - will be sent when free space is to low in some of Servers. Information about the Server and the remaining free space will be provided.
* '''server_low_free_space''' - will be sent when free space is too low in some of the Servers. Information about the Server and the remaining free space will be provided.
* '''cdr_export_success''' - will be sent after CDR export.
* '''cdr_export_success''' - will be sent after CDR export.
* '''cdr_export_error''' - will be sent if CDR export would end with error.
* '''cdr_export_error''' - will be sent if CDR export would end with an error.
* '''auto_aggregate_report''' -  Auto - emails for Aggregate Templates
* '''auto_aggregate_report''' -  Auto - emails for Aggregate Templates
* '''tariff_rate_notification''' -  emails for Rate Notifications
* '''tariff_rate_notification''' -  emails for Rate Notifications
Line 40: Line 40:
=How to Edit Emails?=
=How to Edit Emails?=


Press Edit button and fill necessary information. You can use different variables.
Press the Edit button and fill necessary information. You can use different variables.
Full list of [[Email_variables|email variables]] can be found [[Email_variables|HERE]]
Full list of [[Email_variables|email variables]] can be found [[Email_variables|HERE]]


Line 58: Line 58:
=Invoice Email Supported Variables=
=Invoice Email Supported Variables=
<br>
<br>
*'''<%= username %>''' - User username
*'''<%= username %>''' - User Username
*'''<%= first_name %>''' - User first name
*'''<%= first_name %>''' - User first name
*'''<%= last_name %>''' - User Last name
*'''<%= last_name %>''' - User Last name
Line 90: Line 90:


It is also possible to configure its height, width, border, etc:  
It is also possible to configure its height, width, border, etc:  
  <img src="https://link_to_your_image.jpg" height="50px" width="247px" border="0"/>
<img src="https://link_to_your_image.jpg" height="50px" width="247px" border="0"/>
 
<br><br>
= How to get the default email templates =
 
In case you changed them and want to revert, you can find all default email templates in our demo:
* MOR: https://demo.kolmisoft.com/billing
* M4: https://m4demo.kolmisoft.com/billing

Latest revision as of 07:04, 2 December 2022

What are Emails?

This function is used to send emails to your clients. It can be used to send commercials, notes about service unavailability, or anything else – maybe Christmas greetings!

Where I can find Emails?

This function can be found in MAINTENANCE –> Emails

Here you see emails that are templates for emails about various system messages.

  • invoices - customer will get his Invoice files when they are will be sent manually.
  • warning_balance_email - User will get when balance becomes lower than Warning balance.
  • block_when_no_balance - will be sent after the account is blocked due to insufficient balance.
  • password_reminder - will be sent after M4 has received a User password reminder request.
  • warning_balance_email_local - Admin or/and Manager gets a warning when Users' balance becomes lower than Warning balance.
  • payment_confirmation - User will get when payment is made.
  • warning_balance_email_local2 - User will get when balance becomes higher than Warning balance.
  • server_low_free_space - will be sent when free space is too low in some of the Servers. Information about the Server and the remaining free space will be provided.
  • cdr_export_success - will be sent after CDR export.
  • cdr_export_error - will be sent if CDR export would end with an error.
  • auto_aggregate_report - Auto - emails for Aggregate Templates
  • tariff_rate_notification - emails for Rate Notifications


Tariff Rate Notification template

Tariff rate notification template.png

  • From - works like "Email From". By default empty. Works only with Tariff Rate Notification.

Supported variables:

  • <%= rate_notification_url_agree %>
  • <%= rate_notification_url_disagree %>
  • <%= user_currency %>
  • <%= rate_notification_tariff_name %> - Rate notification tariff name.


How to Edit Emails?

Press the Edit button and fill necessary information. You can use different variables. Full list of email variables can be found HERE

M2 emails edit button.png

M2 email edit.png

How to Create New Email

In main Emails window press ADD NEW EMAIL


Simple Email


New m2 email simple.png

Invoice Email Supported Variables


  • <%= username %> - User Username
  • <%= first_name %> - User first name
  • <%= last_name %> - User Last name
  • <%= full_name %> - User full name
  • <%= balance %> - User balance
  • <%= balance_range_min %> - User minimal balance range
  • <%= balance_range_max %> - User maximum balance range
  • <%= user_email %> - User email
  • <%= currency %> - Currency
  • <%= email %> - User email
  • <%= company_email %> - Company email
  • <%= invoice_price %> - Invoice price
  • <%= invoice_price_with_tax %> - Invoice price with tax
  • <%= invoice_currency %> - Invoice currency
  • <%= invoice_period_start %> - Invoice period start
  • <%= invoice_period_end %> - Invoice period end


2FA variables

  • <%= two_fa_code %> - two factors authentication code
  • <%= user_edit_url %> - URL to users settings page
  • <%= current_time %> - current date and time
  • <%= two_fa_code_attempt %> - number of attempt
  • <%= two_fa_login_status %> - login status
  • <%= two_fa_login_ip %> - IP which tries to login


Adding an image

It is possible to add an image or logo of your company to the email.

In a template you should put an HTML code:

<img src="https://link_to_your_image.jpg"/>

It is also possible to configure its height, width, border, etc:

<img src="https://link_to_your_image.jpg" height="50px" width="247px" border="0"/>



How to get the default email templates

In case you changed them and want to revert, you can find all default email templates in our demo: