public final class MimeReply
extends java.lang.Object
MimeReply - MIME message reply.| Modifier and Type | Method and Description |
|---|---|
static MailMessage |
getReplyMail(MailMessage originalMail,
boolean replyAll,
com.openexchange.session.Session session,
int accountId)
Composes a reply message from specified original message based on MIME objects from
JavaMail API. |
static MailMessage |
getReplyMail(MailMessage originalMail,
boolean replyAll,
com.openexchange.session.Session session,
int accountId,
UserSettingMail usm)
Composes a reply message from specified original message based on MIME objects from
JavaMail API. |
public static MailMessage getReplyMail(MailMessage originalMail, boolean replyAll, com.openexchange.session.Session session, int accountId) throws com.openexchange.exception.OXException
JavaMail API.originalMail - The referenced original mailreplyAll - true to reply to all; otherwise falsesession - The session containing needed user dataaccountId - The account IDMailMessage representing an user-editable reply mailcom.openexchange.exception.OXException - If reply mail cannot be composedpublic static MailMessage getReplyMail(MailMessage originalMail, boolean replyAll, com.openexchange.session.Session session, int accountId, UserSettingMail usm) throws com.openexchange.exception.OXException
JavaMail API.originalMail - The referenced original mailreplyAll - true to reply to all; otherwise falsesession - The session containing needed user dataaccountId - The account IDusm - The user mail settings to use; leave to null to obtain from specified sessionMailMessage representing an user-editable reply mailcom.openexchange.exception.OXException - If reply mail cannot be composed