Documentation ¶
Index ¶
- Variables
- type App
- type Config
- type Email
- func (e *Email) As(sender string) *Email
- func (e *Email) Data(payload interface{}) *Email
- func (e *Email) From(from string) *Email
- func (e *Email) Send(ctx context.Context, mailer App) error
- func (e *Email) Template(template string) *Email
- func (e *Email) To(recipients ...string) *Email
- func (e *Email) WithSubject(subject string) *Email
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // EmptyEmail for not found case EmptyEmail = Email{} )
Functions ¶
This section is empty.
Types ¶
type Email ¶
type Email struct {
// contains filtered or unexported fields
}
Email describes an email to be sent
func (*Email) WithSubject ¶
WithSubject set subject
Click to show internal directories.
Click to hide internal directories.