info.magnolia.module.mail.handlers
Class SimpleMailHandler
java.lang.Object
info.magnolia.module.mail.handlers.SimpleMailHandler
- All Implemented Interfaces:
- MgnlMailHandler
public class SimpleMailHandler
- extends Object
- implements MgnlMailHandler
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.
- Version:
- $Id $
- Author:
- niko
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleMailHandler
public SimpleMailHandler()
prepareAndSendMail
public void prepareAndSendMail(MgnlEmail email)
throws Exception
- Description copied from interface:
MgnlMailHandler
- Prepare the email (format it) and send it.
- Specified by:
prepareAndSendMail
in interface MgnlMailHandler
- Parameters:
email
- the email to send
- Throws:
Exception
- if fails
sendMail
public void sendMail(MgnlEmail email)
throws Exception
- Description copied from interface:
MgnlMailHandler
- Send the email as is, without touching it.
- Specified by:
sendMail
in interface MgnlMailHandler
- Parameters:
email
- the email to send
- Throws:
Exception
- if fails
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.