Class SmtpProducer
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
Implements
Methods
Process(IExchange, CancellationToken)
Processes the exchange asynchronously.
public Task Process(IExchange exchange, CancellationToken ct = default)
Constructors
SmtpProducer(SmtpEndpoint, MailEndpointOptions)
Creates an SMTP producer.