2using System.Collections.Generic;
12 private readonly
string contentType;
13 private readonly
string messageId;
15 private readonly DateTimeOffset date;
16 private readonly
string fromMail;
17 private readonly
string fromHeader;
18 private readonly
string sender;
19 private readonly
int size;
20 private readonly
string mailObjectId;
21 private readonly KeyValuePair<string, string>[] headers;
25 private readonly
string plainText;
26 private readonly
string html;
27 private readonly
string markdown;
96 public DateTimeOffset
Date => this.date;
126 public KeyValuePair<string, string>[]
Headers => this.headers;
146 public string Html => this.html;
Event arguments for message events.
Contains a reference to an object embedded in a mail.
Client providing support for server mail-extension.
Event arguments for mail message events
string FromHeader
From Address, as provided in the mail headers.
string PlainText
Plain-text body, if available.
EmbeddedObjectReference[] Inline
Inline objects, if available.
MailClient Client
Mail Client.
MailEventArgs(MailClient Client, MessageEventArgs e, string ContentType, string MessageId, Priority Priority, DateTimeOffset Date, string FromMail, string FromHeader, string Sender, int Size, string MailObjectId, KeyValuePair< string, string >[] Headers, EmbeddedObjectReference[] Attachments, EmbeddedObjectReference[] Inline, string PlainText, string Html, string Markdown)
Event arguments for mail message events
string FromMail
From Address, as provided in the MAIL FROM command.
string MailObjectId
Mail object ID in broker.
string Markdown
Markdown body, if available.
DateTimeOffset Date
Message Date
int Size
Size of message contents.
string Html
HTML body, if available.
KeyValuePair< string, string >[] Headers
Mail headers
string MessageId
Message-ID, if available.
string Sender
Sender address, as provided in the mail headers.
EmbeddedObjectReference[] Attachments
Attachments, if available.
string ContentType
Mail Content-Type
Priority Priority
Message Priority