Project Wonder 2.0

er.javamail
Class ERMessage

java.lang.Object
  extended byer.javamail.ERMessage

public class ERMessage
extends Object


Constructor Summary
ERMessage()
           
 
Method Summary
 String allRecipientsAsString()
           
 String allRecipientsAsString(boolean includeBcc)
           
 String allRecipientsAsString(boolean includeBcc, int maxAddresses)
           
 Object callbackObject()
          Deprecated.  
 javax.mail.internet.MimeMessage mimeMessage()
           
 javax.mail.Address[] recipients(javax.mail.Message.RecipientType recipientType)
           
 String recipientsAsString(javax.mail.Message.RecipientType recipientType)
           
 String recipientsAsString(javax.mail.Message.RecipientType recipientType, int maxAddresses)
           
 void setCallbackObject(Object obj)
          Deprecated.  
 void setMimeMessage(javax.mail.internet.MimeMessage m)
           
 boolean shouldSendMessage()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ERMessage

public ERMessage()
Method Detail

setMimeMessage

public void setMimeMessage(javax.mail.internet.MimeMessage m)

mimeMessage

public javax.mail.internet.MimeMessage mimeMessage()

setCallbackObject

public void setCallbackObject(Object obj)
Deprecated.  


callbackObject

public Object callbackObject()
Deprecated.  


shouldSendMessage

public boolean shouldSendMessage()

recipients

public javax.mail.Address[] recipients(javax.mail.Message.RecipientType recipientType)
                                throws javax.mail.MessagingException
Parameters:
recipientType - which can be: Message.RecipientType.To, Message.RecipientType.CC, or Message.RecipientType.BCC
Throws:
javax.mail.MessagingException

recipientsAsString

public String recipientsAsString(javax.mail.Message.RecipientType recipientType)
                          throws javax.mail.MessagingException,
                                 javax.mail.internet.AddressException
Throws:
javax.mail.MessagingException
javax.mail.internet.AddressException

recipientsAsString

public String recipientsAsString(javax.mail.Message.RecipientType recipientType,
                                 int maxAddresses)
                          throws javax.mail.MessagingException,
                                 javax.mail.internet.AddressException
Throws:
javax.mail.MessagingException
javax.mail.internet.AddressException

allRecipientsAsString

public String allRecipientsAsString()
                             throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

allRecipientsAsString

public String allRecipientsAsString(boolean includeBcc)
                             throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

allRecipientsAsString

public String allRecipientsAsString(boolean includeBcc,
                                    int maxAddresses)
                             throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

toString

public String toString()

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.