|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.module.mail.handlers.SimpleMailHandler
public class SimpleMailHandler
This is a simple util class to send email from the form pages ... This class was previously included inside the jsp related to the form.
Constructor Summary | |
---|---|
SimpleMailHandler()
|
Method Summary | |
---|---|
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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleMailHandler()
Method Detail |
---|
public void prepareAndSendMail(MgnlEmail email) throws java.lang.Exception
MgnlMailHandler
prepareAndSendMail
in interface MgnlMailHandler
email
- the email to send
java.lang.Exception
- if failspublic void sendMail(MgnlEmail email) throws java.lang.Exception
MgnlMailHandler
sendMail
in interface MgnlMailHandler
email
- the email to send
java.lang.Exception
- if fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |