AmpMessage Methods

The AmpMessage type exposes the following members.

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 (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 (Inherited from Object.)
Public methodImport
Imports message from stream
(Inherited from MailMessage.)
Protected methodMemberwiseClone (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