Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// SMTP server host.
SMTPHost string
// SMTP server port.
SMTPPort int
// Do not verify SMTP hostname over encrypted connection.
SMTPSkipVerify bool
// SMTP identity.
SMTPIdentity string
// Username for SMTP server authentication.
SMTPUsername string
// Password for SMTP server authentication.
SMTPPassword string
// Adressess fot Notify method.
NotifyAddresses []string
// From address for Notify method.
DefaultFrom string
// Subject prefix for Notify method. It is not space separated from subject value.
SubjectPrefix string
}
Service provides functionality to send emails over SMTP server.
Click to show internal directories.
Click to hide internal directories.