Back to Pocketbase

Interface SMTPConfig

static/jsvm/interfaces/core.SMTPConfig.html

latest1.7 KB
Original Source

Interface SMTPConfig

Hierarchy

  • SMTPConfig

Index

Methods

validate

Properties

authMethodenabledhostlocalNamepasswordporttlsusername

Methods

validate

  • validate(): void

Validate makes SMTPConfig validatable by implementing [validation.Validatable] interface.

Returns void

Properties

authMethod

authMethod: string

SMTP AUTH - PLAIN (default) or LOGIN

enabled

enabled: boolean

host

host: string

localName

localName: string

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.

password

password: string

port

port: number

tls

tls: boolean

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.

username

username: string

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

On This Page

Generated using TypeDoc