Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnsafePlainAuth ¶
UnsafePlainAuth returns plain auth authentication, just like the smtp.PlainAuth function does. The difference is that UnsafePlainAuth always allows to use unencrypted connection.
Types ¶
type Server ¶
type Server interface { // Send is a simplified interface for sending emails. Functionality is // narrowed to a notification message. No attachments, Cc, etc. Send(from, to, subject string, body []byte) error }
func NewFilesystemServer ¶
NewFilesystemServer returns a mail Server implementation that is using the local filesystem to store sent messages. This implementation should be used for tests only.
Click to show internal directories.
Click to hide internal directories.