Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleClient ¶
type GoogleClient interface {
SendMail(ctx context.Context, from string, recipients []string, cc []string, bcc []string, subject string, body MailBody, attachments []MailAttachment) (MailRef, error)
}
func NewGoogleClient ¶
func NewGoogleClient(oauth GoogleOAuth) GoogleClient
type GoogleOAuth ¶
func NewGoogleOAuth ¶
func NewGoogleOAuth(clientid string, clientsecret, refreshtoken string) GoogleOAuth
type MailAttachment ¶
Click to show internal directories.
Click to hide internal directories.