2012-03-09 104 views

回答

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 
+0

你好,我想知道有多少收件人可以在那裏通過JasperServer的任何定期報告,因爲我可以只能夠在收件人中添加25個人,可以增加限制。 – Ankur 2014-06-09 09:46:35

7

您應該編輯<app-server>/<deployment>/WEB-INF/js.quartz.properties配置文件。

JasperReports Server Community Project Installation Guide6.4.1郵件服務器配置設置)的報價。

  • report.scheduler.mail.sender.host - - 託管郵件服務器
  • report.scheduler.mail.sender.username的計算機的名稱JasperReports服務器可以使用的郵件服務器中用戶的名稱
  • report.scheduler.mail.sender.password - 郵件服務器用戶的密碼
  • report.scheduler.mail.sender.from - 出現在地址在電子郵件通知現場
  • report.scheduler.mail.sender.protocol - 郵件服務器使用的協議。 JasperReports服務器僅支持SMTP。注意:您的輸入必須是小寫。例如:SMTP
  • report.scheduler.mail.sender.port - 郵件服務器使用的端口號。對於SMTP,默認通常爲25(超過25其它值也可以 早期的JasperServer版本無法正常工作)
+0

感謝您的回覆,我有這個安裝指南,但我對js.quartz.properties的參數感到困惑,比如主機名等。可以給我一個關於雅虎這些參數的例子嗎?假設我的ID是[email protected] – Sharad 2012-03-12 06:06:37

+0

感謝您指出要編輯的文件的名稱,而不僅僅是內容應該是什麼。很遺憾,您無法從JasperServer的Web界面中編輯這些東西。 :( – 2014-04-30 21:02:07