Class SmtpComponent

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

SMTP component. Scheme: "smtp".
Provides email sending via SMTP using MailKit.
URI: smtp://mail.example.com:587?username=bot

[EndpointRole(EndpointRole.Producer, Hint = "Use imap: or pop3: to receive mail.")]
public class SmtpComponent : ComponentBase, IComponent, IAsyncDisposable

Inheritance

Object→ComponentBase→SmtpComponent

Implements

Inherited Members

Properties

Scheme

The URI scheme this component handles (e.g., "kafka", "rabbitmq").

public override string Scheme { get; }

Methods

CreateEndpoint(EndpointUri)

Creates an endpoint from a parsed URI.

public override IEndpoint CreateEndpoint(EndpointUri uri)