public class AmpMessage extends MailMessage
Message which allows senders to include AMP components inside emails.
Constructor and Description |
---|
AmpMessage() |
Modifier and Type | Method and Description |
---|---|
void |
addAmpComponent(AmpComponent component) |
String |
getAmpHtmlBody()
Gets the AmpHtml representation of message's body.
|
void |
save(OutputStream stream,
SaveOptions options)
Save message as a stream
|
void |
setAmpHtmlBody(String value)
Gets the AmpHtml representation of message's body.
|
addAlternateView, addAttachment, attachSignature, checkBounced, checkSignature, checkSignature, checkSignature, createReadReceipt, decrypt, decrypt, deepClone, dispose, dispose, dKIMSign, encrypt, equals, getAlternateViews, getAttachments, getBcc, getBody, getBodyEncoding, getBodyType, getCc, getCC, getDate, getDeliveryNotificationOptions, getFrom, getHeaders, getHtmlBody, getHtmlBodyText, getHtmlBodyText, getHtmlBodyText, getLinkedResources, getLocalDate, getMessageId, getOriginalIsTnef, getPreferredTextEncoding, getPriority, getReadReceiptTo, getReplyToList, getReversePath, getSender, getSensitivity, getSubject, getSubjectEncoding, getTimeZoneOffset, getTo, getXMailer, hashCode, importMessage, isBodyHtml, isBodyHtml, isDraft, isDraft, isEncrypted, isLocalDate, isReadOnly, isSigned, iterator, load, load, load, load, recomposeTnefContent, removeSignature, save, save, save, setBcc, setBody, setBodyEncoding, setCC, setDate, setDeliveryNotificationOptions, setFrom, setFrom, setHtmlBody, setMessageId, setPreferredTextEncoding, setPriority, setReadReceiptTo, setReplyToList, setReversePath, setSender, setSensitivity, setSubject, setSubjectEncoding, setTimeZoneOffset, setTo, setXMailer, toString, unSubscribeFromEvents, validateMessage, validateMessage
public String getAmpHtmlBody()
Gets the AmpHtml representation of message's body.
public void setAmpHtmlBody(String value)
Gets the AmpHtml representation of message's body.
public final void addAmpComponent(AmpComponent component)
public void save(OutputStream stream, SaveOptions options)
Save message as a stream
save
in class MailMessage
stream
- Stream into which message is savedoptions
- Additional options for savingSaveOptions
.