Documentation ¶
Index ¶
- Constants
- type Client
- type Mailer
- type Message
- func (m *Message) Attach(src bytes.Buffer, fileName string)
- func (m *Message) Bytes() []byte
- func (m *Message) GetReceiver() string
- func (m *Message) OpenFile(path string) error
- func (m *Message) SetBody(msg bytes.Buffer)
- func (m *Message) SetFrom(from string)
- func (m *Message) SetReceiver(rcpt string)
- func (m *Message) SetSubject(sub string)
- func (m *Message) SetType(t string)
- func (m *Message) String() string
- func (m *Message) Validate() error
- type Messager
Constants ¶
View Source
const ( Delimiter = "**=myohmy689407924327" TypeHtml = "text/html" TypePlain = "text/plain" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
// contains filtered or unexported fields
}
func NewMessage ¶
func NewMessage() *Message
func (*Message) GetReceiver ¶
func (*Message) SetReceiver ¶
func (*Message) SetSubject ¶
Click to show internal directories.
Click to hide internal directories.