Documentation ¶
Index ¶
- type Sender
- func (s *Sender) BatchSend(tenant *models.Tenant, templateName string, params email.Params, from string, ...) error
- func (s *Sender) ReplaceSend(send func(string, gosmtp.Auth, string, []string, []byte) error)
- func (s *Sender) Send(tenant *models.Tenant, templateName string, params email.Params, from string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sender ¶
type Sender struct {
// contains filtered or unexported fields
}
Sender is used to send emails
func (*Sender) BatchSend ¶ added in v0.10.0
func (s *Sender) BatchSend(tenant *models.Tenant, templateName string, params email.Params, from string, to []email.Recipient) error
BatchSend an email to multiple recipients
func (*Sender) ReplaceSend ¶ added in v0.14.0
ReplaceSend can be used to mock internal send function
Click to show internal directories.
Click to hide internal directories.