Table of Contents

Class MessagePart

Namespace
Google.Apis.Gmail.v1.Data
Assembly
Google.Apis.Gmail.v1.dll

A single MIME message part.

public class MessagePart : IDirectResponseSchema
Inheritance
MessagePart
Implements
IDirectResponseSchema
Inherited Members

Constructors

MessagePart()

public MessagePart()

Properties

Body

The message part body for this part, which may be empty for container MIME message parts.

public virtual MessagePartBody Body { get; set; }

Property Value

MessagePartBody

ETag

The ETag of the item.

public virtual string ETag { get; set; }

Property Value

string

Filename

The filename of the attachment. Only present if this message part represents an attachment.

public virtual string Filename { get; set; }

Property Value

string

Headers

List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.

public virtual IList<MessagePartHeader> Headers { get; set; }

Property Value

IList<MessagePartHeader>

MimeType

The MIME type of the message part.

public virtual string MimeType { get; set; }

Property Value

string

PartId

The immutable ID of the message part.

public virtual string PartId { get; set; }

Property Value

string

Parts

The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.

public virtual IList<MessagePart> Parts { get; set; }

Property Value

IList<MessagePart>