SMTP Server
In APG 6.x the mail server is defined in the global APG properties file (apg.properties) located at:
Linux & Solaris: /opt/APG/bin/apg.properties
Windows: C:\Program Files\APG\bin\apg.properties
[...] #=================== # Common Properties #=================== [...] mail.host=localhost mail.smtp.user=<username> mail.smtp.password=<password> [...]
Scheduled Reports
The email address used to define the sender is set in the module.properties file:
Linux & Solaris: /opt/APG/Web-Servers/Tomcat/Default/conf/module.properties
Windows: C:\Program Files\APG\Web-Servers\Tomcat\Default\conf\module.properties
Add the following line to this file and set its value to something appropriate for your environment:
As of 6.1u4 and 6.2 the setting is mail.smtp.from
Alerts
The email address used to define the sender is set in the module.properties file:
Linux & Solaris: /opt/APG/Backends/Alerting-Backend/Default/conf/module.properties
Windows: C:\Program Files\APG\Backends\Alerting-Backend\Default\conf\module.properties
[...] [email protected] [...]
Change the above "alerting.mail.from" line in this file to something more appropriate for your environment.
Last Step
Restart Tomcat and Alerting-Backend to apply your changes in the active environment.