| java.lang.Object org.apache.roller.util.MailUtil
Method Summary | |
public static void | sendHTMLMessage(Session session, String from, String[] to, String[] cc, String[] bcc, String subject, String content) | public static void | sendHTMLMessage(Session session, String from, String to, String cc, String bcc, String subject, String content) This method overrides the sendHTMLMessage to specify
only one sender, rather than an array of senders. | public static void | sendHTMLMessage(Session session, String from, String to, String[] cc, String[] bcc, String subject, String content) This method overrides the sendHTMLMessage to specify
one receiver and mulitple cc recipients. | public static void | sendMessage(Session session, String from, String[] to, String[] cc, String[] bcc, String subject, String content, String mimeType) This method is used to send a Message with a pre-defined
mime-type.
Parameters: from - e-mail address of sender Parameters: to - e-mail address(es) of recipients Parameters: subject - subject of e-mail Parameters: content - the body of the e-mail Parameters: mimeType - type of message, i.e. | public static void | sendTextMessage(Session session, String from, String[] to, String[] cc, String[] bcc, String subject, String content) This method is used to send a Text Message. | public static void | sendTextMessage(Session session, String from, String to, String[] cc, String[] bcc, String subject, String content) This method overrides the sendTextMessage to specify
one receiver and mulitple cc recipients. | public static void | sendTextMessage(Session session, String from, String to, String cc, String bcc, String subject, String content) This method overrides the sendTextMessage to specify
only one receiver and cc recipients, rather than
an array of recipients. |
sendHTMLMessage | public static void sendHTMLMessage(Session session, String from, String[] to, String[] cc, String[] bcc, String subject, String content) throws MessagingException(Code) | | This method is used to send a HTML Message
Parameters: from - e-mail address of sender Parameters: to - e-mail address(es) of recipients Parameters: subject - subject of e-mail Parameters: content - the body of the e-mail throws: MessagingException - the exception to indicate failure |
sendHTMLMessage | public static void sendHTMLMessage(Session session, String from, String to, String cc, String bcc, String subject, String content) throws MessagingException(Code) | | This method overrides the sendHTMLMessage to specify
only one sender, rather than an array of senders.
Parameters: from - e-mail address of sender Parameters: to - e-mail address of recipients Parameters: subject - subject of e-mail Parameters: content - the body of the e-mail throws: MessagingException - the exception to indicate failure |
sendHTMLMessage | public static void sendHTMLMessage(Session session, String from, String to, String[] cc, String[] bcc, String subject, String content) throws MessagingException(Code) | | This method overrides the sendHTMLMessage to specify
one receiver and mulitple cc recipients.
Parameters: from - e-mail address of sender Parameters: to - e-mail address of recipient Parameters: cc - e-mail addresses of recipients Parameters: subject - subject of e-mail Parameters: content - the body of the e-mail throws: MessagingException - the exception to indicate failure |
sendMessage | public static void sendMessage(Session session, String from, String[] to, String[] cc, String[] bcc, String subject, String content, String mimeType) throws MessagingException(Code) | | This method is used to send a Message with a pre-defined
mime-type.
Parameters: from - e-mail address of sender Parameters: to - e-mail address(es) of recipients Parameters: subject - subject of e-mail Parameters: content - the body of the e-mail Parameters: mimeType - type of message, i.e. text/plain or text/html throws: MessagingException - the exception to indicate failure |
sendTextMessage | public static void sendTextMessage(Session session, String from, String[] to, String[] cc, String[] bcc, String subject, String content) throws MessagingException(Code) | | This method is used to send a Text Message.
Parameters: from - e-mail address of sender Parameters: to - e-mail addresses of recipients Parameters: subject - subject of e-mail Parameters: content - the body of the e-mail throws: MessagingException - the exception to indicate failure |
sendTextMessage | public static void sendTextMessage(Session session, String from, String to, String[] cc, String[] bcc, String subject, String content) throws MessagingException(Code) | | This method overrides the sendTextMessage to specify
one receiver and mulitple cc recipients.
Parameters: from - e-mail address of sender Parameters: to - e-mail addresses of recipients Parameters: subject - subject of e-mail Parameters: content - the body of the e-mail throws: MessagingException - the exception to indicate failure |
sendTextMessage | public static void sendTextMessage(Session session, String from, String to, String cc, String bcc, String subject, String content) throws MessagingException(Code) | | This method overrides the sendTextMessage to specify
only one receiver and cc recipients, rather than
an array of recipients.
Parameters: from - e-mail address of sender Parameters: to - e-mail address of recipient Parameters: cc - e-mail address of cc recipient Parameters: subject - subject of e-mail Parameters: content - the body of the e-mail throws: MessagingException - the exception to indicate failure |
|
|