Documentation
¶
Overview ¶
Package email provides email notification drivers.
Index ¶
- type ResendDriver
- func (d *ResendDriver) Channel() string
- func (d *ResendDriver) Fields() []driver.Field
- func (d *ResendDriver) Name() string
- func (d *ResendDriver) Send(ctx context.Context, msg *driver.OutboundMessage) (*driver.DeliveryResult, error)
- func (d *ResendDriver) Validate(credentials, _ map[string]string) error
- type SMTPDriver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResendDriver ¶
type ResendDriver struct{}
ResendDriver delivers email via the Resend HTTP API.
func (*ResendDriver) Channel ¶
func (d *ResendDriver) Channel() string
func (*ResendDriver) Fields ¶
func (d *ResendDriver) Fields() []driver.Field
Fields describes what the Resend driver reads.
func (*ResendDriver) Name ¶
func (d *ResendDriver) Name() string
func (*ResendDriver) Send ¶
func (d *ResendDriver) Send(ctx context.Context, msg *driver.OutboundMessage) (*driver.DeliveryResult, error)
type SMTPDriver ¶
type SMTPDriver struct{}
SMTPDriver delivers email via standard SMTP.
func (*SMTPDriver) Channel ¶
func (d *SMTPDriver) Channel() string
func (*SMTPDriver) Fields ¶
func (d *SMTPDriver) Fields() []driver.Field
Fields describes what the SMTP driver reads.
func (*SMTPDriver) Name ¶
func (d *SMTPDriver) Name() string
func (*SMTPDriver) Send ¶
func (d *SMTPDriver) Send(ctx context.Context, msg *driver.OutboundMessage) (*driver.DeliveryResult, error)
Click to show internal directories.
Click to hide internal directories.