MailUtils (Mule ESB 2.2.1 API)
Keywords: org.mule.transport.email.MailUtils class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.transport.email
Class MailUtils

    java.lang.Object
      org.mule.transport.email.MailUtils

    public class MailUtils

extends Object

Contains javax.mail helpers.

Constructor Summary
`MailUtils()`

Method Summary
`static void` | `getAttachments(Multipart content, Map attachments)`
`static String` | `internetAddressesToString(InternetAddress address)`
`static String` | `internetAddressesToString(InternetAddress[] addresses)`
`static String` | `mailAddressesToString(Address address)`
`static String` | `mailAddressesToString(Address[] addresses)`
`static InternetAddress[]` | `stringToInternetAddresses(String address)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MailUtils

    public MailUtils()

Method Detail

### internetAddressesToString

    public static String internetAddressesToString(InternetAddress[] addresses)

### internetAddressesToString

    public static String internetAddressesToString(InternetAddress address)

### mailAddressesToString

    public static String mailAddressesToString(Address[] addresses)

### mailAddressesToString

    public static String mailAddressesToString(Address address)

### stringToInternetAddresses

    public static InternetAddress[] stringToInternetAddresses(String address)
                                                       throws AddressException

  Throws:
    `AddressException`

### getAttachments

    public static void getAttachments(Multipart content,
                                      Map attachments)
                               throws MessagingException,
                                      IOException

  Throws:
    `MessagingException`
    `IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.