gomail

package
v0.0.0-...-f3ad2b4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2015 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(registry kit.Registry, host string, port int, user, password, defaultSenderEmail, defaultSenderName string) *Service

func (*Service) Debug

func (s *Service) Debug() bool

func (*Service) Registry

func (s *Service) Registry() kit.Registry

func (Service) Send

func (s Service) Send(mail kit.Email) apperror.Error

func (Service) SendMultiple

func (s Service) SendMultiple(emails ...kit.Email) (apperror.Error, []apperror.Error)

func (*Service) SetDebug

func (s *Service) SetDebug(x bool)

func (*Service) SetDefaultFrom

func (s *Service) SetDefaultFrom(r kit.EmailRecipient)

func (*Service) SetRegistry

func (s *Service) SetRegistry(x kit.Registry)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL