Documentation ¶
Overview ¶
Gmailer allows for OAUTH authentication to GMail and sending of basic email messages
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ClientID string ClientSecret string AccessToken string RefreshToken string EmailTo string EmailFrom string ReplyTo string Subject string Body string HP bool Service *gmail.Service }
Config is type containing OAuth credentials and email message information
func (*Config) Authenticate ¶
Authenticate authenticates with GMail OAuth, and returns a pointer to gmail.Service when successfully authenticated
Click to show internal directories.
Click to hide internal directories.