Class Smtp

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

Fluent API for SMTP (send email) endpoints.

.To(Smtp.Send("smtp.example.com").Port(587).Security("StartTls")
.Username("bot@example.com").Password("secret")
.From("bot@example.com").To("user@example.com").Subject("Alert"))

public static class Smtp

Inheritance

Object→Smtp

Methods

Send(string)

Creates an SMTP producer endpoint for the given mail server.

public static MailBuilder Send(string server)