goext/googleapi
Mike Schwörer 6b211d1443
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m37s
fix tests
2023-12-17 14:04:35 +01:00
..
attachment.go google mail API [[FIN]] 2023-12-04 13:55:41 +01:00
body.go google mail API [[FIN]] 2023-12-04 13:55:41 +01:00
mimeMessage_test.go fix tests 2023-12-17 14:04:35 +01:00
mimeMessage.go google mail API [[FIN]] 2023-12-04 13:55:41 +01:00
oAuth.go google mail API [[FIN]] 2023-12-04 13:55:41 +01:00
README.md google mail API [[[WIP]]] 2023-12-01 18:33:04 +01:00
sendMail_test.go fix tests 2023-12-17 14:04:35 +01:00
sendMail.go google mail API [[FIN]] 2023-12-04 13:55:41 +01:00
service.go google mail API [[FIN]] 2023-12-04 13:55:41 +01:00
test_placeholder.png fix tests 2023-12-17 14:04:35 +01:00

Google OAuth Setup (to send mails)

curl --request POST \
  --url https://oauth2.googleapis.com/token \
  --data code={...} \
  --data redirect_uri=http://localhost/oauth \
  --data client_id={...} \
  --data client_secret={...} \
  --data grant_type=authorization_code \
  --data scope=https://www.googleapis.com/auth/gmail.send
  • Fertig, mit client_id, client_secret und refresh_token kann das package benutzt werden