Documentation ¶
Index ¶
- type Email
- func (m *Email) AddAttachment(filename, contentType string, content []byte)
- func (m *Email) AddBCC(contact *cbmail.Contact)
- func (m *Email) AddCC(contact *cbmail.Contact)
- func (m *Email) AddTo(contact *cbmail.Contact)
- func (m *Email) Send() error
- func (m *Email) SetFrom(contact *cbmail.Contact)
- func (m *Email) SetHeader(key, value string)
- func (m *Email) SetHtmlBody(body string)
- func (m *Email) SetReplyTo(contact *cbmail.Contact)
- func (m *Email) SetSubject(subject string)
- func (m *Email) SetTextBody(body string)
- type Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Email ¶
type Email struct {
// contains filtered or unexported fields
}
func (*Email) AddAttachment ¶
func (*Email) SetHtmlBody ¶
func (*Email) SetReplyTo ¶
func (*Email) SetSubject ¶
func (*Email) SetTextBody ¶
Click to show internal directories.
Click to hide internal directories.