public class SMTPDKIMMessage
extends com.sun.mail.smtp.SMTPMessage
NOTIFY_DELAY, NOTIFY_FAILURE, NOTIFY_NEVER, NOTIFY_SUCCESS, RETURN_FULL, RETURN_HDRS
Constructor and Description |
---|
SMTPDKIMMessage(javax.mail.internet.MimeMessage message,
DKIMSigner signer) |
SMTPDKIMMessage(javax.mail.Session session,
DKIMSigner signer) |
SMTPDKIMMessage(javax.mail.Session session,
InputStream is,
DKIMSigner signer) |
Modifier and Type | Method and Description |
---|---|
String |
getEncodedBody() |
void |
setAllow8bitMIME(boolean allow) |
void |
setEncodedBody(String encodedBody) |
void |
writeTo(OutputStream os,
String[] ignoreList)
Output the message as an RFC 822 format stream, without specified
headers.
|
getAllow8bitMIME, getEnvelopeFrom, getMailExtension, getNotifyOptions, getReturnOption, getSendPartial, getSubmitter, setEnvelopeFrom, setMailExtension, setNotifyOptions, setReturnOption, setSendPartial, setSubmitter
addFrom, addHeader, addHeaderLine, addRecipients, addRecipients, createInternetHeaders, createMimeMessage, getAllHeaderLines, getAllHeaders, getAllRecipients, getContent, getContentID, getContentLanguage, getContentMD5, getContentStream, getContentType, getDataHandler, getDescription, getDisposition, getEncoding, getFileName, getFlags, getFrom, getHeader, getHeader, getInputStream, getLineCount, getMatchingHeaderLines, getMatchingHeaders, getMessageID, getNonMatchingHeaderLines, getNonMatchingHeaders, getRawInputStream, getReceivedDate, getRecipients, getReplyTo, getSender, getSentDate, getSize, getSubject, isMimeType, isSet, parse, removeHeader, reply, saveChanges, setContent, setContent, setContentID, setContentLanguage, setContentMD5, setDataHandler, setDescription, setDescription, setDisposition, setFileName, setFlags, setFrom, setFrom, setHeader, setRecipients, setRecipients, setReplyTo, setSender, setSentDate, setSubject, setSubject, setText, setText, setText, updateHeaders, updateMessageID, writeTo
public SMTPDKIMMessage(javax.mail.Session session, DKIMSigner signer)
public SMTPDKIMMessage(javax.mail.internet.MimeMessage message, DKIMSigner signer) throws javax.mail.MessagingException
javax.mail.MessagingException
public SMTPDKIMMessage(javax.mail.Session session, InputStream is, DKIMSigner signer) throws javax.mail.MessagingException
javax.mail.MessagingException
public void writeTo(OutputStream os, String[] ignoreList) throws IOException, javax.mail.MessagingException
saved
flag is not set, the
saveChanges
method is called. If the modified
flag is not set and the content
array is not null, the
content
array is written directly, after writing the
appropriate message headers.writeTo
in class javax.mail.internet.MimeMessage
javax.mail.MessagingException
IOException
- if an error occurs writing to the stream or if an error is
generated by the javax.activation layer.This method enhances the JavaMail method
MimeMessage.writeTo(OutputStream os String[] ignoreList); See the
according Sun Licence, this contribution is CDDL.
public String getEncodedBody()
public void setEncodedBody(String encodedBody)
public void setAllow8bitMIME(boolean allow)
setAllow8bitMIME
in class com.sun.mail.smtp.SMTPMessage
Copyright © 2012-2018. All Rights Reserved.