Class SmtpEndpoint

Namespace: redb.Route.Mail
Assembly: redb.Route.Mail.dll

SMTP endpoint. Creates an SmtpProducer for sending email.

public class SmtpEndpoint : EndpointBase<MailEndpointOptions>, IEndpoint, IEndpointStatistics

Inheritance

Object→MailEndpointOptions}→SmtpEndpoint

Implements

Properties

Host

The mail server host.

public string Host { get; }

Port

The resolved port number.

public int Port { get; }

Methods

CreateConsumer(IProcessor)

Creates a consumer for receiving messages from this endpoint.

public override IConsumer CreateConsumer(IProcessor processor)

CreateProducer()

Creates a producer for sending messages to this endpoint.

public override IProducer CreateProducer()

Constructors