Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MailerImpl ¶
type MailerImpl struct {
// contains filtered or unexported fields
}
MailerImpl defines a mail transfer agent to use for sending mail
func New ¶
func New(server, port, username, password, from string) MailerImpl
New constructs a Mailer to represent an account on a particular mail transfer agent.
func (*MailerImpl) Connect ¶
func (m *MailerImpl) Connect() error
Connect opens a connection to the specified mail server. It must be called before SendMail.
Click to show internal directories.
Click to hide internal directories.