org.paneris.jammyjoes.mail
Class MailFascade

java.lang.Object
  extended by org.paneris.jammyjoes.mail.MailFascade
All Implemented Interfaces:
Sender

public class MailFascade
extends java.lang.Object
implements Sender


Constructor Summary
MailFascade(javax.mail.Session session, MailTransport transport)
           
MailFascade(java.lang.String smtpServer)
           
 
Method Summary
 HtmlMail createHtmlMail(java.lang.String content)
           
 Newsletter createNewsletter(java.lang.String directory, java.lang.String name)
           
 java.lang.String getProperty(java.lang.String name)
           
 int mailPeople(java.util.Enumeration users, java.io.Writer out, Newsletter newsletter)
           
 void send(MimeMail mail)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailFascade

public MailFascade(javax.mail.Session session,
                   MailTransport transport)

MailFascade

public MailFascade(java.lang.String smtpServer)
Method Detail

send

public void send(MimeMail mail)
          throws javax.mail.MessagingException,
                 com.quiotix.html.parser.ParseException,
                 java.io.IOException
Specified by:
send in interface Sender
Throws:
javax.mail.MessagingException
com.quiotix.html.parser.ParseException
java.io.IOException

createNewsletter

public Newsletter createNewsletter(java.lang.String directory,
                                   java.lang.String name)
                            throws java.lang.Exception
Throws:
java.lang.Exception

createHtmlMail

public HtmlMail createHtmlMail(java.lang.String content)
                        throws java.lang.Exception
Throws:
java.lang.Exception

getProperty

public java.lang.String getProperty(java.lang.String name)

mailPeople

public int mailPeople(java.util.Enumeration users,
                      java.io.Writer out,
                      Newsletter newsletter)
               throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2001-2008 PanEris. All Rights Reserved.