public interface IAttachmentHandler
IAttachmentHandler
- Tracks mail parts when parsing a mail.Modifier and Type | Method and Description |
---|---|
void |
addAttachment(MailPart attachment)
Adds specified attachment.
|
ComposedMailMessage[] |
generateComposedMails(ComposedMailMessage source,
java.util.List<com.openexchange.exception.OXException> warnings)
Generates composed mails.
|
void |
setTextPart(TextBodyMailPart textBodyPart)
Sets the text part which may be modified.
|
void setTextPart(TextBodyMailPart textBodyPart)
textBodyPart
- The text part to setvoid addAttachment(MailPart attachment) throws com.openexchange.exception.OXException
attachment
- The attachment to addcom.openexchange.exception.OXException
- Depending on implementation it may indicate an exceeded quota, but other errors as wellComposedMailMessage[] generateComposedMails(ComposedMailMessage source, java.util.List<com.openexchange.exception.OXException> warnings) throws com.openexchange.exception.OXException
source
- The source composed mailcom.openexchange.exception.OXException
- If an error occurs while filling mail