info.magnolia.module.mail.handlers
Interface MgnlMailHandler

All Known Implementing Classes:
SimpleMailHandler, ThreadedMailHandler

public interface MgnlMailHandler

The interface to implement for sending emails with Magnolia. Date: Mar 30, 2006 Time: 1:06:23 PM

Author:
Nicolas Modrzyk
See Also:
SimpleMailHandler, ThreadedMailHandler

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.
 

Method Detail

prepareAndSendMail

void prepareAndSendMail(MgnlEmail email)
                        throws Exception
Prepare the email (format it) and send it.

Parameters:
email - the email to send
Throws:
Exception - if fails

sendMail

void sendMail(MgnlEmail email)
              throws Exception
Send the email as is, without touching it.

Parameters:
email - the email to send
Throws:
Exception - if fails


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.