SMTP AUTH - PLAIN (default) or LOGIN
LocalName is optional domain name or IP address used for the EHLO/HELO exchange (if not explicitly set, defaults to "localhost").
This is required only by some SMTP servers, such as Gmail SMTP-relay.
Whether to enforce TLS encryption for the mail server connection.
When set to false StartTLS command is send, leaving the server to decide whether to upgrade the connection or not.
Generated using TypeDoc
Validate makes SmtpConfig validatable by implementing [validation.Validatable] interface.