How to configure mail server settings in JasperReports Server 4.0.0
2 answers
Yahoo settings:
Yahoo! Mail SMTP server address: smtp.mail.yahoo.com
Yahoo! Mail SMTP user name: full email address (including "@yahoo.com")
Yahoo! Mail SMTP password: Your Yahoo! Mail password
Yahoo! Mail SMTP port: 25
So this would be:
# This file is now just a pass-through for stuff in the
# file referenced by the Maven js.quartz.properties file.
quartz.delegateClass=org.quartz.impl.jdbcjobstore.PostgreSQLDelegate
quartz.tablePrefix=QRTZ_
quartz.extraSettings=
report.scheduler.mail.sender.host=smtp.mail.yahoo.com
report.scheduler.mail.sender.username= Your full Yahoo! Mail email address (including "@yahoo.com")
report.scheduler.mail.sender.password= Your Yahoo! Mail password
report.scheduler.mail.sender.from=Your Full Yahoo Email
report.scheduler.mail.sender.protocol=smtp
report.scheduler.mail.sender.port=25
+2
source to share
You must edit the config file . <app-server>/<deployment>/WEB-INF/js.quartz.properties
Quote from JasperReports Server Community Project Installation Guide
(6.4.1 Mail Server Configuration Settings).
- report.scheduler.mail.sender.host - the name of the computer hosting the mail server
- report.scheduler.mail.sender.username . The username on the mail server that the JasperReports server can use.
- report.scheduler.mail.sender.password - mail server user password
- report.scheduler.mail.sender.from . Address displayed in the From field in email notifications
- report.scheduler.mail.sender.protocol is the protocol used by the mail server. JasperReports server only supports SMTP. Note. Your entry must be lowercase. For example: smtp
- report.scheduler.mail.sender.port - port number used by the mail server. For SMTP, the default is usually 25 (values ββother than 25 may not work prior to JasperServer)
+7
source to share