org.paneris.jammyjoes.mail
Class Newsletter

java.lang.Object
  extended by org.paneris.jammyjoes.mail.MimeMail
      extended by org.paneris.jammyjoes.mail.Newsletter
All Implemented Interfaces:
NewsletterInterface

public class Newsletter
extends MimeMail
implements NewsletterInterface


Constructor Summary
Newsletter(javax.mail.Session session, java.lang.String directory, java.lang.String name)
           
 
Method Summary
 void addImage(java.lang.String image, int index)
           
 java.io.InputStream getInputStream()
           
 
Methods inherited from class org.paneris.jammyjoes.mail.MimeMail
addBodyPart, addRecipient, getContent, getMessage, getRecipient, getSubject, setContentText, setFrom, setRecipient, setSubject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Newsletter

public Newsletter(javax.mail.Session session,
                  java.lang.String directory,
                  java.lang.String name)
           throws javax.mail.internet.AddressException,
                  javax.mail.MessagingException,
                  com.quiotix.html.parser.ParseException,
                  java.io.IOException
Throws:
javax.mail.internet.AddressException
javax.mail.MessagingException
com.quiotix.html.parser.ParseException
java.io.IOException
Method Detail

addImage

public void addImage(java.lang.String image,
                     int index)
              throws javax.mail.MessagingException,
                     java.io.IOException
Specified by:
addImage in interface NewsletterInterface
Throws:
javax.mail.MessagingException
java.io.IOException

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Specified by:
getInputStream in interface NewsletterInterface
Throws:
java.io.IOException


Copyright © 2001-2008 PanEris. All Rights Reserved.