Class MailMessageBody
Composite body for emails with attachments.
Text holds the email body, Attachments holds the decoded file data. The same files are also on the message
attachments (), which is what smtp: sends.
public sealed class MailMessageBody : ICloneable
Inheritance
Implements
Properties
Attachments
Decoded attachments that fit the size cap (names always ride the headers).
public IReadOnlyList<MailAttachment> Attachments { get; }
Methods
Clone()
Deep copy for checkpoint snapshots — attachment payload bytes must not be shared.
public object Clone()
ToString()
The text body: what smtp: writes when a received mail is sent on.
public override string ToString()
Constructors
MailMessageBody(string, IReadOnlyList<MailAttachment>)
Composite body for emails with attachments.