| Author |
MailLogger
|
manoj samarasinghe
Greenhorn
Joined: Nov 17, 2004
Posts: 16
|
|
hi, I am using MailLogger for my nightly build for sending a mail with status. I use something like this, /vobs/pub/apache-ant-1.6.1/bin/ant -logger org.apache.tools.ant.listener.MailLogger -buildfile /vobs/prof/custom-applications/TBM/nightly_build/call-review.xml -DMailLogger.failure.subject="$failure" -DMailLogger.success.subject="$success" -DMailLogger.properties.file=/vobs/prof/custom-applications/TBM/nightly_build/reviewmail.properties -logfile /vobs/prof/custom-applications/TBM/nightly_build/review-status.log it works fine. But i need a way to add one more extra message to the end of the body of the mail i send. But Content of the mail is taken by the log file ,declared as last line. (-logfile vobs/prof/custom-applications/TBM/nightly_build/review-status.log) I cannot add any thing to that file because it is created after each build and overrides preveios information. Is there any way to add extra information to my mail body (not to mail subject, etc ..)? like MailLogger.message= . here is my property file i use. MailLogger.mailhost= MailLogger.port=25 MailLogger.from=buildusr@xxx.com MailLogger.failure.to=roshan@xxx.com MailLogger.success.to=roshan@xxx.com mail.from.address=buildusr@xxx.com thanks manoj.
|
manojmanoj
|
 |
 |
|
|
subject: MailLogger
|
|
|