Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parcel ¶
type Parcel struct { FromAddress string FromName string ToAddress string ToName string Subject string Body string }
Parcel contains the data to compose an email
type PostOffice ¶ added in v0.4.2
type PostOffice struct {
// contains filtered or unexported fields
}
PostOffice wraps mail dialer.
func New ¶ added in v0.0.8
func New(c connect.Connect) PostOffice
New creates a new instance of PostOffice
func (PostOffice) Deliver ¶ added in v0.4.2
func (pm PostOffice) Deliver(p Parcel) error
Deliver asks the postman to deliver a parcel.
Click to show internal directories.
Click to hide internal directories.