public class AmpMessage extends MailMessage
Message which allows senders to include AMP components inside emails.
Constructor and Description |
---|
AmpMessage()
Initializes a new instance of the
MailMessage class |
Modifier and Type | Method and Description |
---|---|
void |
addAmpComponent(AmpComponent component)
Add Amp component to this message.
|
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, attachSignature, checkBounced, checkSignature, checkSignature, checkSignature, close, createReadReceipt, decrypt, decrypt, deepClone, dispose, dispose, dKIMSign, encrypt, equals, getAlternateViews, getAttachments, getBcc, getBody, getBodyEncoding, getBodyType, getCc, getCC, getDate, getDeliveryNotificationOptions, getEpilogue, getFrom, getHeaders, getHtmlBody, getHtmlBodyText, getHtmlBodyText, getHtmlBodyText, getLinkedResources, getLocalDate, getMessageId, getOriginalIsTnef, getPreamble, 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, setEpilogue, setFrom, setFrom, setHtmlBody, setHtmlBody, setMessageId, setPreamble, setPreferredTextEncoding, setPriority, setReadReceiptTo, setReplyToList, setReversePath, setSender, setSensitivity, setSubject, setSubjectEncoding, setTimeZoneOffset, setTo, setXMailer, toString, unSubscribeFromEvents, validateMessage, validateMessage
public AmpMessage()
Initializes a new instance of the MailMessage
class
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)
Add Amp component to this message.
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
.