google / gmail-oauth2-tools

Tools and sample code for authenticating to Gmail with OAuth2
Apache License 2.0
405 stars 211 forks source link

sendgmail: support Google Workspace email addresses #37

Closed LiberalArtist closed 2 years ago

LiberalArtist commented 3 years ago

This commit removes a check that the -sender argument ended with "@gmail.com", which unnecessarily prevented sendgmail from working with Google Workspace email addresses.

LiberalArtist commented 2 years ago

This patch is identical to @tklengyel's, so I'm closing this in favor of https://github.com/google/gmail-oauth2-tools/pull/26.

LiberalArtist commented 2 years ago

@ValZapod I believe you would need to use a different API to do what you want.