...
Code Block | ||
---|---|---|
| ||
;mandatory database connection information: resources.db.params.host = "DB_HOST" resources.db.params.username = "DB_USERNAME" resources.db.params.password = "DB_PASSWORD" resources.db.params.dbname = "DB_NAME" ;mandatory default sender email address and name; same address is used as receiver for error mails resources.mail.defaultFrom.email = MAILADRESSEMAILADDRESS resources.mail.defaultFrom.name = Support Translate5 ; should be changed to a speakable name ;If there is no local mail server configured,runtimeOptions.sendMailDisabled = 1 ; with this optional setting all mail sending can optionallybe bedisabled. configuredset to 0 or useremove aentry thirdto partyenable mail server sending. |
Additional Information to the e-mail configuration:
MAILADDRESS: must be replaced with a valid e-mail address. The address is used as sender address (so the configured SMTP server must be able to send mails with this address as sender).
The same e-mail is used as the default receiver for all types of errors in the application. The receiver for logging / error mails can be configured differently.
Info |
---|
For advanced e-mail configuration, like configuring a SMTP server sending see Mail server as SMTP. |
Use MicroSoft OAuth2 routing to send mail:
If you inspired by MicroSoft OAuth2 authorisation protocol and want to use it with our system to send mail then firstly take a look at their documentation.
Make sure you created credentials with permissions to send mail on application level.
In installation.ini you need to set next fields:
Code Block | ||
---|---|---|
| ||
resources.mail.transport.type = ZfExtended_Zend_Mail_Transport_SmtpMSGraph resources.mail.transport.hostemail = SMTPSERVER ; The following lines about mail configuration are all optional! resources.mail.transport.ssl = tls | ssl → with ssl the port 465 is used automatically ; If authentication is needed for above configure mail server:translate5@domain.com ; used as uniq user id resources.mail.transport.authtenantId = login | plain | crammd5 ; → choose the correct authtype here*your-tenantId* resources.mail.transport.usernameclientId = USERNAME*your-clientId-or-applicationId-depends-on-ms-ui-version* resources.mail.transport.passwordclientSecret = PASSWORD runtimeOptions.sendMailDisabled = 1 ; with this optional setting all mail sending can be disabled. set to 0 or remove entry to enable mail sending. |
Additional Information to the e-mail configuration:
MAILADRESSE: muss mit einer gültigen Mail Adresse ersetzt werden. Diese
wird zum einen als Absender verwendet, zum anderen empfängt diese aber
standardmäßig alle Fehler E-Mails. Durch das Absenderthema, sollte das
eine gültige Adresse bei euch sein, welche die empfangenen Mails an dich
weiterleitet. Die Log Mails können wir dann dediziert auf unsere Support
Adresse umbiegen.
SMTPSERVER: wäre entsprechend der SMTP Server
USERNAME und PASSWORD entsprechend die Zugangsdaten, sofert ein auth
...
'*your-client-secret*' |
Summary
The installation.ini contains:
...