Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthMailRequest ¶
type AuthMailRequest struct { Username string `json:"name,omitempty" form:"name" query:"name"` Email string `json:"email" form:"email" query:"email"` // for account confirmation Confirmation string `json:"confirmation,omitempty"` }
authentication relatead email data wrapper
type EmailSenderMechanism ¶
type EmailSenderMechanism func(maildata *Maildata) (json.RawMessage, error)
current supported methods are: * SendGridMailDelivery * GmailDelivery
type MailAddress ¶
type Maildata ¶
type Maildata struct { From MailAddress To MailAddress Cc []MailAddress Bcc []MailAddress Subject string Plaintext string Htmltext string }
Click to show internal directories.
Click to hide internal directories.