Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConnectionSecurities = struct { NoEncryption ConnectionSecurity OptionalStartTLS ConnectionSecurity RequestStartTLS ConnectionSecurity TLS ConnectionSecurity }{ "NO_ENCRYPTION", "OPTIONAL_STARTTLS", "REQUIRE_STARTTLS", "TLS", }
Functions ¶
This section is empty.
Types ¶
type ConnectionSecurity ¶
type ConnectionSecurity string
type Settings ¶
type Settings struct { HostName string `json:"hostName"` // Host name Port int `json:"port"` // Integer value of port. Default: `25` UserName string `json:"userName"` // User name Password string `json:"password"` // Password IsPasswordConfigured bool `json:"isPasswordConfigured,omitempty"` // If true, a password has been configured. Default: `false`. ConnectionSecurity ConnectionSecurity `json:"connectionSecurity"` // Connection security, possible values: `NO_ENCRYPTION`, `OPTIONAL_STARTTLS`, `REQUIRE_STARTTLS`, `TLS`. Default: `NO_ENCRYPTION` SenderEmailAddress string `json:"senderEmailAddress"` // Sender email address AllowFallbackViaMissionControl bool `json:"allowFallbackViaMissionControl,omitempty"` // If true, we will send e-mails via Mission Control in case of problems with SMTP server. UseSmtpServer bool `json:"useSmtpServer,omitempty"` // If true, we will send e-mails via SMTP server. }
The configuration of the user
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
Click to show internal directories.
Click to hide internal directories.