Documentation ¶
Index ¶
- type Attachment
- type Mailjet
- func (s *Mailjet) GetTemplateHTMLCode(ormService *beeorm.Engine, templateName string, ttl int) (string, error)
- func (s *Mailjet) SendTemplate(ormService *beeorm.Engine, message *Message) error
- func (s *Mailjet) SendTemplateAsync(ormService *beeorm.Engine, message *Message) error
- func (s *Mailjet) SendTemplateWithAttachments(ormService *beeorm.Engine, message *MessageAttachment) error
- func (s *Mailjet) SendTemplateWithAttachmentsAsync(ormService *beeorm.Engine, message *MessageAttachment) error
- type Mandrill
- func (s *Mandrill) GetTemplateHTMLCode(ormService *beeorm.Engine, templateName string, ttl int) (string, error)
- func (s *Mandrill) SendTemplate(ormService *beeorm.Engine, message *Message) error
- func (s *Mandrill) SendTemplateAsync(ormService *beeorm.Engine, message *Message) error
- func (s *Mandrill) SendTemplateWithAttachments(ormService *beeorm.Engine, message *MessageAttachment) error
- func (s *Mandrill) SendTemplateWithAttachmentsAsync(ormService *beeorm.Engine, message *MessageAttachment) error
- type Message
- type MessageAttachment
- type NewSenderFunc
- type Sender
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶ added in v1.1.4
type Mailjet ¶ added in v1.1.4
type Mailjet struct {
// contains filtered or unexported fields
}
func (*Mailjet) GetTemplateHTMLCode ¶ added in v1.1.4
func (*Mailjet) SendTemplate ¶ added in v1.1.4
func (*Mailjet) SendTemplateAsync ¶ added in v1.1.4
func (*Mailjet) SendTemplateWithAttachments ¶ added in v1.1.4
func (s *Mailjet) SendTemplateWithAttachments(ormService *beeorm.Engine, message *MessageAttachment) error
func (*Mailjet) SendTemplateWithAttachmentsAsync ¶ added in v1.1.4
func (s *Mailjet) SendTemplateWithAttachmentsAsync(ormService *beeorm.Engine, message *MessageAttachment) error
type Mandrill ¶
type Mandrill struct {
// contains filtered or unexported fields
}
func (*Mandrill) GetTemplateHTMLCode ¶ added in v0.8.69
func (*Mandrill) SendTemplate ¶
func (*Mandrill) SendTemplateAsync ¶
func (*Mandrill) SendTemplateWithAttachments ¶
func (s *Mandrill) SendTemplateWithAttachments(ormService *beeorm.Engine, message *MessageAttachment) error
func (*Mandrill) SendTemplateWithAttachmentsAsync ¶
func (s *Mandrill) SendTemplateWithAttachmentsAsync(ormService *beeorm.Engine, message *MessageAttachment) error
type MessageAttachment ¶
type MessageAttachment struct { Message Attachments []Attachment }
type NewSenderFunc ¶ added in v1.1.4
type Sender ¶
type Sender interface { SendTemplate(ormService *beeorm.Engine, message *Message) error SendTemplateAsync(ormService *beeorm.Engine, message *Message) error SendTemplateWithAttachments(ormService *beeorm.Engine, message *MessageAttachment) error SendTemplateWithAttachmentsAsync(ormService *beeorm.Engine, message *MessageAttachment) error GetTemplateHTMLCode(ormService *beeorm.Engine, templateName string, ttl int) (string, error) }
Click to show internal directories.
Click to hide internal directories.