Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mailer ¶
type Mailer interface {
SendEmail(request *api.EmailFormRequest) error
}
type SendGridMailer ¶
type SendGridMailer struct {
// contains filtered or unexported fields
}
func NewSendGridMailer ¶
func NewSendGridMailer(cfg *configuration.ContactFormConfiguration) *SendGridMailer
func (*SendGridMailer) SendEmail ¶
func (m *SendGridMailer) SendEmail(request *api.EmailFormRequest) error
Click to show internal directories.
Click to hide internal directories.