AmpMessage Class
Message which allows senders to include AMP components inside emails.
Inheritance Hierarchy
SystemObject
  Aspose.EmailMailMessage
    Aspose.Email.AmpAmpMessage

Namespace: Aspose.Email.Amp
Assembly: Aspose.Email (in Aspose.Email.dll) Version: 20.1
Syntax
public class AmpMessage : MailMessage

The AmpMessage type exposes the following members.

Constructors
  NameDescription
Public methodAmpMessage
Initializes a new instance of the AmpMessage class
Properties
  NameDescription
Public propertyAlternateViews
Gets the collection of alternate views of message
(Inherited from MailMessage.)
Public propertyAmpHtmlBody
Gets the AmpHtml representation of message's body.
Public propertyAttachments
Gets the collection of attachments of message
(Inherited from MailMessage.)
Public propertyBcc
Gets or sets the address collection that contains the BCC recipients of message
(Inherited from MailMessage.)
Public propertyBody
Gets or sets the plain text representation of message's body.
(Inherited from MailMessage.)
Public propertyBodyEncoding
Gets or sets encoding of body
(Inherited from MailMessage.)
Public propertyBodyType
Gets the type of the body.
(Inherited from MailMessage.)
Public propertyCC
Gets or sets the address collection that contains the CC recipients
(Inherited from MailMessage.)
Public propertyDate
Gets or sets the date of message
(Inherited from MailMessage.)
Public propertyDeliveryNotificationOptions
Gets or sets the delivery notifications
(Inherited from MailMessage.)
Public propertyFrom
Gets or sets the from address
(Inherited from MailMessage.)
Public propertyHeaders
Gets headers collection of message
(Inherited from MailMessage.)
Public propertyHtmlBody
Gets or sets html body
(Inherited from MailMessage.)
Public propertyHtmlBodyText
Gets the message htmlbody as plain text.
(Inherited from MailMessage.)
Public propertyIsBodyHtml
Gets or sets a value indicating whether the message body is in Html
(Inherited from MailMessage.)
Public propertyIsDraft
Gets or sets value that indicates whether or not a message has been sent.
(Inherited from MailMessage.)
Public propertyIsEncrypted
Gets a value indicating whether the message is encrypted.
(Inherited from MailMessage.)
Public propertyIsReadOnly
Gets a value indicating whether the message is read only
(Inherited from MailMessage.)
Public propertyIsSigned
Gets a value indicating whether the message is signed.
(Inherited from MailMessage.)
Public propertyLinkedResources
Gets the collection of linked resources of message
(Inherited from MailMessage.)
Public propertyMessageId
Gets or sets the message id
(Inherited from MailMessage.)
Public propertyOriginalIsTnef
Gets a value indicating whether original EML message is in TNEF format.
(Inherited from MailMessage.)
Public propertyPreferredTextEncoding
Gets or sets preferred encoding for all text properties
(Inherited from MailMessage.)
Public propertyPriority
Gets or sets the priority of message
(Inherited from MailMessage.)
Public propertyReadReceiptTo
Gets or sets the read receipt address.
(Inherited from MailMessage.)
Public propertyReplyToList
Gets or sets the list of addresses to reply to for the mail message
(Inherited from MailMessage.)
Public propertyReversePath
Gets or sets ReversePath address
(Inherited from MailMessage.)
Public propertySender
Gets or sets sender address
(Inherited from MailMessage.)
Public propertySensitivity
Gets or sets the sensitivity of message
(Inherited from MailMessage.)
Public propertySubject
Gets or sets the subject line
(Inherited from MailMessage.)
Public propertySubjectEncoding
Gets or sets the encoding of subject
(Inherited from MailMessage.)
Public propertyTimeZoneOffset
Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the local time and UTC.
(Inherited from MailMessage.)
Public propertyTo
Gets or sets the address collection that contains the recipients of message
(Inherited from MailMessage.)
Public propertyXMailer
Gets or sets the X-Mailer the software that created the e-mail message
(Inherited from MailMessage.)
Methods
  NameDescription
Public methodAddAlternateView
Add an alternate view to message
(Inherited from MailMessage.)
Public methodAddAmpComponent
Public methodAddAttachment
Add an attachment to message
(Inherited from MailMessage.)
Public methodAttachSignature(CmsSigner)
Creates a signed message. Creates a read-only copy of the specified MailMessage and adds a digital signature to it.
(Inherited from MailMessage.)
Public methodAttachSignature(X509Certificate2)
Creates a signed message. Creates a read-only copy of the specified MailMessage and adds a digital signature to it.
(Inherited from MailMessage.)
Public methodAttachSignature(CmsSigner, Boolean)
Creates a signed message. Creates a read-only copy of the specified MailMessage and adds a digital signature to it.
(Inherited from MailMessage.)
Public methodAttachSignature(X509Certificate2, Boolean)
Creates a signed message. Creates a read-only copy of the specified MailMessage and adds a digital signature to it.
(Inherited from MailMessage.)
Public methodCheckBounced
Checks whether this message can be treated as a bounce message.
(Inherited from MailMessage.)
Public methodCheckSignature
Checking signature exsisting MailMessage.
(Inherited from MailMessage.)
Public methodClone
Clones this instance
(Inherited from MailMessage.)
Public methodCreateReadReceipt
Creates the read receipt.
(Inherited from MailMessage.)
Public methodDecrypt
Decrypts this message
(Inherited from MailMessage.)
Public methodDecrypt(X509Certificate2)
Decrypts this message
(Inherited from MailMessage.)
Public methodDispose
Releases all resources used by the MailMessage
(Inherited from MailMessage.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources
(Inherited from MailMessage.)
Public methodDKIMSign
Signs this message using DKIM (DomainKeys Identified Mail) signature.
(Inherited from MailMessage.)
Public methodEncrypt(X509Certificate2)
Encrypts this message
(Inherited from MailMessage.)
Public methodEncrypt(X509Certificate2)
Encrypts this message
(Inherited from MailMessage.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from MailMessage.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from MailMessage.)
Public methodGetHashCode
Returns a hash code for object
(Inherited from MailMessage.)
Public methodGetHtmlBodyText(Boolean)
Gets the message htmlbody as plain text.
(Inherited from MailMessage.)
Public methodGetHtmlBodyText(HyperlinkRenderingCallback)
Gets the message htmlbody as plain text.
(Inherited from MailMessage.)
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
(Inherited from MailMessage.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodImport
Imports message from stream
(Inherited from MailMessage.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRecomposeTnefContent
Composes the TNEF content. Note, that tnef attachment is composed if a message initially contained TNEF and was loaded without FileCompatibilityMode.PreserveTnefAttachments flag, That is this method doesn't create tnef message out of the regular one.
(Inherited from MailMessage.)
Public methodRemoveSignature
Remove signature
(Inherited from MailMessage.)
Public methodSave(Stream)
Save message as a stream
(Inherited from MailMessage.)
Public methodSave(String)
Save message as a file
(Inherited from MailMessage.)
Public methodSave(String, SaveOptions)
Save message as a file with additional options.
(Inherited from MailMessage.)
Public methodSave(Stream, SaveOptions)
Save message as a stream
(Overrides MailMessageSave(Stream, SaveOptions).)
Public methodToString
Returns a string that represents the current object.
(Inherited from MailMessage.)
See Also