Documentation
¶
Index ¶
- type Email
- func (m *Email) AddBcc(emailAddress string, displayName string)
- func (m *Email) AddCc(emailAddress string, displayName string)
- func (m *Email) AddTo(emailAddress string, displayName string)
- func (m *Email) Send() error
- func (m *Email) SetContent(html string, text string)
- func (m *Email) SetSubject(subject string)
- type EmailAddress
- type EmailAttachment
- type EmailContent
- type EmailRecipients
- type EmailSender
- type ErrorResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Email ¶
type Email struct { SenderAddress string `json:"senderAddress"` Content EmailContent `json:"content"` Recipients EmailRecipients `json:"recipients"` Attachments []EmailAttachment `json:"attachments,omitempty"` ReplyTo []EmailAddress `json:"replyTo,omitempty"` // contains filtered or unexported fields }
func (*Email) SetContent ¶
func (*Email) SetSubject ¶
type EmailAddress ¶
type EmailAttachment ¶
type EmailContent ¶
type EmailRecipients ¶
type EmailRecipients struct { To []EmailAddress `json:"to"` Cc []EmailAddress `json:"cc,omitempty"` Bcc []EmailAddress `json:"bcc,omitempty"` }
type EmailSender ¶
type EmailSender struct {
// contains filtered or unexported fields
}
func NewEmailSender ¶
func (*EmailSender) NewMail ¶
func (es *EmailSender) NewMail() *Email
type ErrorResponse ¶
Click to show internal directories.
Click to hide internal directories.