Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Smtp Client handle, used for triggering sending messages
type Config ¶
type Config struct {
// smtp server host which is providing the mail services
// typically gmail smtp would be "smtp.gmail.com"
Host string
// port over which the smtp service is provided
Port string
// Sender email address / username for authentication
Sender string
// Sender Descriptive Name to be included in the email
SenderName string
// reply-to email address as typically sender email would
// be device control and typically would be no-reply,
// if empty means reply-to is not configured
ReplyTo string
// Password for authenticating the sender with smtp server
Password string
}
Base Configuration with which an smtp client will be created.
Click to show internal directories.
Click to hide internal directories.