我正在使用 JasperReports Server 4.0.0 ,我想要如何配置邮件服务器设置以按报告计划邮寄报告。
我怎么能这样做?有谁知道这个?
答案 0 :(得分:7)
您应该修改 <app-server>/<deployment>/WEB-INF/js.quartz.properties
配置文件。
来自JasperReports Server Community Project Installation Guide
( 6.4.1邮件服务器配置设置)的引用。
答案 1 :(得分:2)
雅虎设置是:
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
所以它会是:
# 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