Documentation
¶
Overview ¶
Simple smtp client to send email(support Chinese). Work well with qq, 163, mac mail app, google mail.
Index ¶
- type Attachment
- type Letter
- func (l *Letter) AddAttachment(filename string, data []byte)
- func (l *Letter) AddAttachments(attachments ...Attachment)
- func (l *Letter) AddCarbonCopy(addresses ...string)
- func (l *Letter) AddReceivers(addresses ...string)
- func (l *Letter) Dump()
- func (l *Letter) SetContent(content string)
- func (l *Letter) SetSubject(subject string)
- type Sender
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
func NewAttachment ¶
func NewAttachment(filename string, data []byte) Attachment
type Letter ¶
type Letter struct { Subject string // contains filtered or unexported fields }
func (*Letter) AddAttachment ¶
func (*Letter) AddAttachments ¶
func (l *Letter) AddAttachments(attachments ...Attachment)
func (*Letter) AddCarbonCopy ¶
func (*Letter) AddReceivers ¶
func (*Letter) SetContent ¶
func (*Letter) SetSubject ¶
Click to show internal directories.
Click to hide internal directories.