com.infoengine.email
Class MessageUtilities
java.lang.Object
com.infoengine.email.MessageUtilities
- public class MessageUtilities
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultAttributes
public static String[] defaultAttributes
sectionAttributes
public static String[] sectionAttributes
MessageUtilities
public MessageUtilities()
getElement
public static Element getElement(javax.mail.Message message,
String[] attributes)
throws IEException
- Throws:
IEException
getAttribute
public static String[] getAttribute(javax.mail.Message message,
String name)
throws IEException
- Throws:
IEException
getMainTextBody
public static String getMainTextBody(javax.mail.Message message)
throws IEException
- Throws:
IEException
addAddresses
private static void addAddresses(Element element,
javax.mail.Message message,
String[] attributes)
throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException
addAddresses
private static void addAddresses(Element element,
String name,
javax.mail.Address[] addresses)
getAddressAttribute
private static String[] getAddressAttribute(javax.mail.Address[] addresses)