Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Configure ¶
func Configure( Oauth2ConfigClientID string, Oauth2ConfigClientSecret string, Oauth2TokenAccessToken string, Oauth2TokenRefreshToken string, To string, SubjectPrefix string, )
Configure initializes settings for this package
func OAuthGmailService ¶
func OAuthGmailService() (*gmail.Service, error)
OAuthGmailService creates a gmail service client https://medium.com/wesionary-team/sending-emails-with-go-golang-using-smtp-gmail-and-oauth2-185ee12ab306 TODO: Put all the settings in a config file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.