|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.module.mail.handlers.ThreadedMailHandler
public class ThreadedMailHandler
This class is meant to allow async emails ... The mail is posted and send. Note that mail success or failure is only displayed in the logs. Date: Mar 31, 2006 Time: 5:51:38 PM
Method Summary | |
---|---|
protected void |
finalize()
|
void |
prepareAndSendMail(MgnlEmail email)
Prepare the email (format it) and send it. |
void |
sendMail(MgnlEmail email)
Send the email as is, without touching it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
protected void finalize() throws Throwable
finalize
in class Object
Throwable
public void prepareAndSendMail(MgnlEmail email) throws Exception
prepareAndSendMail
in interface MgnlMailHandler
email
- the email to send
Exception
- if failspublic void sendMail(MgnlEmail email) throws Exception
sendMail
in interface MgnlMailHandler
email
- the email to send
Exception
- if fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |