Class Smtp
SMTP info. See RFC 2821.
Namespace: Google.Backstory
Assembly: Google.Backstory.dll
Syntax
public sealed class Smtp : IMessage<Smtp>, IEquatable<Smtp>, IDeepCloneable<Smtp>, IBufferMessage, IMessage
Constructors
Smtp()
Declaration
public Smtp()
Smtp(Smtp)
Declaration
public Smtp(Smtp other)
Parameters
| Type | Name | Description |
|---|---|---|
| Smtp | other |
Properties
Helo
The client's 'HELO'/'EHLO' string.
Declaration
public string Helo { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IsTls
If the connection switched to TLS.
Declaration
public bool IsTls { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
IsWebmail
If the message was sent via a webmail client.
Declaration
public bool IsWebmail { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
MailFrom
The client's 'MAIL FROM' string.
Declaration
public string MailFrom { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MessagePath
The message's path (extracted from the headers).
Declaration
public string MessagePath { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RcptTo
The client's 'RCPT TO' string(s).
Declaration
public RepeatedField<string> RcptTo { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
ServerResponse
The server's response(s) to the client.
Declaration
public RepeatedField<string> ServerResponse { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |