Documentation ¶
Index ¶
- type Mail
- func (_m *Mail) Attach(files []string) mail.Mail
- func (_m *Mail) Bcc(addresses []string) mail.Mail
- func (_m *Mail) Cc(addresses []string) mail.Mail
- func (_m *Mail) Content(content mail.Content) mail.Mail
- func (_m *Mail) From(address mail.From) mail.Mail
- func (_m *Mail) Queue(queue *mail.Queue) error
- func (_m *Mail) Send() error
- func (_m *Mail) To(addresses []string) mail.Mail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mail ¶
Mail is an autogenerated mock type for the Mail type
func NewMail ¶
func NewMail(t mockConstructorTestingTNewMail) *Mail
NewMail creates a new instance of Mail. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
Click to show internal directories.
Click to hide internal directories.