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, 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, validateMessagepublic 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 MailMessagestream - Stream into which message is savedoptions - Additional options for savingSaveOptions.Copyright (c) 2008-2021 Aspose Pty Ltd. All Rights Reserved.