|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.sc.seis.fissuresUtil.exceptionHandler.ResultMailer
public class ResultMailer
| Field Summary | |
|---|---|
static java.lang.String |
FROM
mail.from specifies the sender of the exception email |
static java.lang.String |
SMTP
mail.smtp.host specifies the smtp server you want to use |
static java.lang.String |
SUBJECT
mail.subject specifies the subject of the exception email |
static java.lang.String |
TO
mail.to specifies the recipient of the exception email |
| Constructor Summary | |
|---|---|
ResultMailer(java.util.Properties props)
The four key strings' SMTP, SUBJECT, FROM and TO values must be set in the passed in properties |
|
| Method Summary | |
|---|---|
void |
mail(java.lang.String message,
java.lang.String bodyText,
java.util.List sections)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SMTP
public static final java.lang.String TO
public static final java.lang.String FROM
public static final java.lang.String SUBJECT
| Constructor Detail |
|---|
public ResultMailer(java.util.Properties props)
throws MissingPropertyException
MissingPropertyException| Method Detail |
|---|
public void mail(java.lang.String message,
java.lang.String bodyText,
java.util.List sections)
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||