Email Notification

Please note: this is legacy documentation. Please check out https://docs.miarec.com/all/ for the most up-to-date documentation and user guides. 

 

MiaRec sends a notification by email when one of the following events occurs:

  • MiaRec service is started or stopped,
  • MiaRec service is automatically restarted because the application crashed,
  • License is changed because of dongle was disconnected or the trial period expired, and 
  • License is exceeded (some calls were not recorded because of not enough licenses).

Configuration of e-mail notification is done via MiaRec.ini configuration file (section [Mail::Notification]).

Example:

[Mail::Notification]

Host = mail.example.com

Login = user@example.com

Password = password

From = miarec@example.com

To = admin@example.com

SubjectPrefix = %{app-name} [%{computer-name}]

LicenseExceedInterval = 30

Where:

  • Host is an address of the is the SMTP mail server. It may be in form of:
    • IP-address (like 10.0.0.1)
    • Domain name (like mail.example.com)
    • IP-address/domain-name with port (like 10.0.0.1:25 or mail.example.com:25)
  • Login is a mail account (if the mail server requires authentication).
  • Password is a password for the mail account
  • From is an address, which will be used as a sender for e-mail notifications
  • To is the address of the recipient
  • SubjectPrefix is a prefix, which will be added to the subject of the email. This prefix allows distinguishing the messages from multiple MiaRec servers. %{app-name} will be replaced by name of the application as specified inside section [Main] option Name. %{computer-name} will be replaced by the NETBIOS name of a computer, on which MiaRec is running.
  • LicenseExceedInterval is a minimum interval between two e-mail notifications, which are sent by MiaRec because of license exceeding. This option allows for preventing an overflow of a mailbox with too many notifications.