Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mailgun ¶
type Mailgun struct {
// contains filtered or unexported fields
}
Mailgun struct holds necessary data to communicate with the Mailgun API.
func New ¶
New returns a new instance of a Mailgun notification service. You will need a Mailgun API key and domain name. See https://documentation.mailgun.com/en/latest/
func (*Mailgun) AddReceivers ¶
AddReceivers takes email addresses and adds them to the internal address list. The Send method will send a given message to all those addresses.
Click to show internal directories.
Click to hide internal directories.