Documentation ¶
Index ¶
- type Attachment
- type Message
- func (m *Message) AddAttaches(attchs ...string) *Message
- func (m *Message) AttacheReader(r io.Reader, filename string) error
- func (m *Message) SetBCC(emails ...string) *Message
- func (m *Message) SetCC(emails ...string) *Message
- func (m *Message) SetFrom(from string) *Message
- func (m *Message) SetHTML(body string) *Message
- func (m *Message) SetSubject(subj string) *Message
- func (m *Message) SetTO(emails ...string) *Message
- func (m *Message) SetText(body string) *Message
- func (m Message) WriteTo(w io.Writer) (int64, error)
- type Sender
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
Attachment - simple file attachment structure
type Message ¶
type Message struct {
// contains filtered or unexported fields
}
Message - тело сообщения
func (*Message) AddAttaches ¶
AddAttaches - add files
func (*Message) AttacheReader ¶ added in v1.0.5
AttacheReader - add file from reader
func (*Message) SetSubject ¶
SetSubject - set subkect mail
Click to show internal directories.
Click to hide internal directories.