Discover Packages
github.com/aronasorman/abot
shared
interface
emailsender
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Mar 15, 2016
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package emailsender enables Abot to send email through any external service.
It implements a standardized interface through which Sendgrid and more can
be supported. It's up to individual drivers to add support for each of these
email sending services. To both send and receive emails, use interface/email
instead.
Drivers returns a sorted list of the names of the registered drivers.
Register makes a email driver available by the provided name. If Register
is called twice with the same name or if driver is nill, it panics.
Conn is a connection to a specific emailsender driver.
Open a connection to a registered driver.
Driver returns the driver used by a connection.
SendHTML email through the opened driver connection.
SendPlainText email through the opened driver connection.
Source Files
¶
Directories
¶
Package driver defines interfaces to be implemented by email_sender drivers as used by package emailsender.
Package driver defines interfaces to be implemented by email_sender drivers as used by package emailsender.
Click to show internal directories.
Click to hide internal directories.