Class SmtpProducer

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

SMTP producer — sends email messages via MailKit SmtpClient.
Supports plain text and HTML bodies, attachments, CC/BCC, Reply-To,
OAuth2 authentication, and TLS/SSL.

public class SmtpProducer : IProducer, IProcessor

Inheritance

Object→SmtpProducer

Implements

Methods

Process(IExchange, CancellationToken)

Processes the exchange asynchronously.

public Task Process(IExchange exchange, CancellationToken ct = default)

Start(CancellationToken)

Starts the producer.

public Task Start(CancellationToken ct = default)

Stop(CancellationToken)

Stops the producer.

public Task Stop(CancellationToken ct = default)

Constructors