Historique de la page
Sommaire |
---|
Emails are sent by the application for ticket monitoring and exception reports.
The properties below are set in /properties/config.properties.
See also: Customizing outgoing emails
SMTP server (required)
The FQDN or IP address of the outgoing server:
Bloc de code |
---|
#smtp.host=smtp.domain.edu |
SMTP port
The port the SMTP server is running on:
Bloc de code |
---|
#smtp.port=25 |
SMTP authentication
The credentials used to connect to the SMTP server:
Bloc de code |
---|
#smtp.user= #smtp.password= |
Encoding
The encoding used when sending emails:
Bloc de code |
---|
#smtp.charset=utf-8 |
The sender
The properties below are used to build the From header:
Bloc de code |
---|
#smtp.fromEmail=esup-helpdesk@domain.edu #smtp.fromName=ESUP-Portail Helpdesk |
Interception
The name of the bean used to intercept all the emails:
Bloc de code |
---|
#smtp.interceptBean=smtpIntercept |
Astuce | ||
---|---|---|
When setting up the application, it is recommended to intercept the emails not to send unwanted emails to users. When runing in production, set this property to null (don't comment, this may cause problem).
|
The address to which all the emails will be redirected (used only when smtp.interceptBean is set to smtpIntercept) :
Bloc de code |
---|
#smtp.interceptEmail=maintainer@domain.edu #smtp.interceptName=Maintainer |
The (comma-separated) addresses that are never intercepted:
Bloc de code |
---|
#smtp.notInterceptedAddresses= |
Test values
The properties below are used when running the ant task test-smtp:
Bloc de code |
---|
#smtp.testEmail=maintainer@domain.edu #smtp.testName=Maintainer |