Compartilhar via


SPEmailMessage Members

Include Protected Members
Include Inherited Members

Represents a MIME-formatted e-mail message.

The SPEmailMessage type exposes the following members.

Constructors

  Name Description
Public method SPEmailMessage Initializes a new instance of the SPEmailMessage class.

Top

Properties

  Name Description
Public property Attachments Gets the collection of attachments in the e-mail message
Public property EnvelopeSender Gets the RFC 821 MAIL FROM sender of the e-mail message.
Public property Headers Gets the collection of message headers for the e-mail message.
Public property HtmlBody Gets the body of the e-mail message in HTML format.
Public property PlainTextBody Gets the body of the e-mail message in plain-text format.
Public property Sender Gets the sender of the e-mail message.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetMessageStream Returns a stream that represents the entire e-mail message, including both the message body and headers.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPEmailMessage Class

Microsoft.SharePoint.Utilities Namespace