- CheckInterval – select the time interval (in seconds) during
which the system will send emails queued for
sending (if any)
- ProcessMessengerAccountOnly – only emails marked to be sent from
Messenger are processed
- InstanceName – change the workstation name. By default, it is
AdaSoftMessaging.
- MailerUserSettings – the available options are:
- all – uses all user's preferences
- sender – uses only the sender's preferences
- employee – uses the employee nomenclature data
- none – uses the configuration settings
- **UseMailerFromDatabase **– can be true or false. The Mailer
section's sending settings are recorded in the database.
- ConnectionString – sample key for the Firebird database
connection: User=SYSDBA;Password=masterkey;Database=C:\\Programs\\Audit\\AuditDesktop.fdb;DataSource=localhost;Port=3050;Dialect=3;Charset=UTF8;Role=;Connection
lifetime=15;Pooling=true;MinPoolSize=0;MaxPoolSize=50;Packet
Size=8192;ServerType=0
- User – SYSDBA
- Password – masterkey
- Database – can be the path to the database
file\\AuditDesktop.fdb
- Port – you can use 3050
- Dialect – value must be 3
- Charset – value must be UTF8
- Role – remains empty
- Connectionlifetime – the time interval during which the
connection will continue to be active before it is interrupted and
restored. It is recommended that this interval be between 15-30
seconds.
- Pooling – select pre-made database connections. It is
recommended that the value is set to true.
- MinPoolSize – minimum amount of pre-made connections, for
example 0
- MaxPoolSize – maximum amount of pre-made connections, for
example 50
- PacketSize – value must be 8192
- ServerType – value must be 0
- Type – sending type: email
- Host – host address, for example mail@example.com
- Port – sending port: 587 for SMTP
- UseSSL – possibility to use SSL (Secure Sockets Layer) protocol
- UseLogin – select server login, may be true or false
- SenderName – sender name setting
- SenderAddress – sender address setting
- User – select the user for the mail host, for example
mail@example.com
- Password – select password
- AcceptAllCertificates – possibility of accepting all SSL
certificates, can be true or false
- Enabled – enable or disable receiving emails, can be true or false
- Type – select the mail protocol type for retrieving emails: IMAP or
POP3. In most cases IMAP is used.
- Host – host address, for example: mail@example.com
- Port – select receiving port, values are 995 for POP3 or 993 and 110
for IMAP
- UseSSL – possibility to use SSL (Secure Sockets Layer) protocol, can
be true or false
- User – select the user for the mail host, for example
mail@example.com
- Password – select password
- AcceptAllCertificates – possibility of accepting all SSL
certificates, can be true or false
- AfterReadAction – select action after reading the email – whether it
will be marked as read, moved to another folder, or deleted. The
values are: read, move and delete (IMAP only)
- MoveToFolder – name of the folder where the email will be moved to
if the AfterReadAction value is set to move (IMAP only)
- Inbox – name of the Inbox folder where the email will be moved to,
or the path to it (IMAP only)
{
"Data": {
"DefaultConnection": {
"ConnectionString": "User=SYSDBA;Password=masterkey;Database=C:\\Programs\\Audit\\AuditDesktop.fdb;DataSource=localhost;Port=3050;Dialect=3;Charset=UTF8;Role=;Connection lifetime=15;Pooling=true;MinPoolSize=0;MaxPoolSize=50;Packet Size=8192;ServerType=0",
}
},
"CheckInterval": "60",
"ProccessMessengerAccountOnly": "false",
"InstanceName": "AdaSoftMessaging",
"MailerUserSettings": "all",
"UseMailerFromDatabase": "false",
"Mailer": {
"Type": "e-mail",
"Host": "mail.example.com ",
"Port": "587",
"UseSSL": "false",
"UseLogin": "true",
"SenderName": "",
"SenderAddress": "",
"User": "mail@example.com",
"Password": "",
"AcceptAllCertificates": "true"
},
"IncommingMail": {
"Enabled" : "true",
"Type": "IMAP",
"Host": "mail.example.com ",
"Port": "993",
"UseSSL": "true",
"User": "mail@example.com",
"Password": "",
"AcceptAllCertificates": "true",
"AfterReadAction": "move",
"MoveToFolder": "",
"Inbox": ""
}
}