Stub started, to be continued

Florian 2017-02-20 19:57:39 +01:00
parent 66015972eb
commit e9955cf5bc

63
de:Plugins:eMail.md Normal file

@ -0,0 +1,63 @@
# Plugin: eMail
Dieses Plugin stellt die Funktionalität zur Verfügung, Alarme via E-Mail zu versenden. Dabei sind Aufbau und Inhalt der Mail frei konfigurierbar.
## Einstellungen
Die Einstellungen des Plugins erfolgen in der zentralen `config/config.ini`
### Server-Einstellungen
[eMail]
# SMTP-Server
smtp_server = localhost
# Port of SMTP-server (default: )
smtp_port =
# use tls for connection (0|1)
tls = 0
# Use this, when SMTP-server has restricted access
user =
password =
### Adressaten
# Parameters for Alarm-Msg:
# "to" can be more than one address, comma separated
from = local@localhost
to = user@irgendwo, user2@woanders
# Priority of the eMail:
# normal|urgent|non-urgent
priority = urgent
### eMail für FMS
# %FMS% = FMS Code
# %STATUS% = FMS Status
# %DIR% = Direction of the telegram (0/1)
# %DIRT% = Direction of the telegram (Text-String)
# %TSI% = Tactical Short Information (I-IV)
# %DESCR% = Description, if description-module is used
# %DATE% = Date (by script)
# %TIME% = Time (by script)
# %BR% = Insert line wrap (only in message)
# %LPAR% = (
# %RPAR% = )
fms_subject = FMS: %FMS%
fms_message = %DATE% %TIME%: %FMS%%BR%Status: %STATUS% - Direction: %DIRT% - TSI: %TSI%
### eMail für ZVEI
# %ZVEI% = ZVEI 5-tone Code
# %DESCR% = Description, if description-module is used
zvei_subject = Alarm: %ZVEI%
zvei_message = %DATE% %TIME%: %ZVEI%
### eMail für POCSAG
# %RIC% = POCSAG RIC
# %FUNC% = POCSAG function/Subric (1-4)
# %FUNCCHAR% = POCSAG function/Subric als character (a-d)
# %FUNCTEXT% = POCSAG function/Subric static massage definded in POCSAG section
# %MSG% = Message of the POCSAG telegram
# %BITRATE% = Bitrate of the POCSAG telegram
poc_subject = Alarm: %RIC%%LPAR%%FUNCCHAR%%RPAR%
poc_message = %DATE% %TIME% - %DESCR%: %MSG%