Documentation ¶
Index ¶
- type Attachment
- type Body
- type Client
- type ClientConfig
- type ClientConfigReader
- type Config
- type Email
- func (e *Email) AddAttachment(filename string, r io.Reader) error
- func (e *Email) AddBcc(addresses string) error
- func (e *Email) AddBody(contentType, content string) error
- func (e *Email) AddCc(addresses string) error
- func (e *Email) AddReplyTo(addresses string) error
- func (e *Email) AddTo(addresses string) error
- func (e *Email) Send(addr string, config *Config) error
- func (e *Email) SetFrom(from string) error
- func (e *Email) SetSubject(subject string) error
- type Mailer
- type Msg
- type ResendMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Attachment struct {
// contains filtered or unexported fields
}
type ClientConfig ¶
type ClientConfig struct {
ResendAPIKey string
}
type ClientConfigReader ¶
type ClientConfigReader interface {
Read(ctx context.Context) (*ClientConfig, error)
}
type Email ¶
type Email struct {
// contains filtered or unexported fields
}
func (*Email) AddReplyTo ¶
func (*Email) SetSubject ¶
Click to show internal directories.
Click to hide internal directories.