xhit / go-simple-mail

Golang package for send email. Support keep alive connection, TLS and SSL. Easy for bulk SMTP.
MIT License
650 stars 102 forks source link

OAuth2.0 #65

Open LarsTi opened 2 years ago

LarsTi commented 2 years ago

Hello there,

is there any interest or maybe already any ongoing development (though i did not see anything in the branches) regarding a generic OAuth2.0 implementation? Microsoft seems to force everyone from BasicAuthentication to OAuth2.0

I am a big fan of this package due to its simplicity and i was wondering if anyone else stumbled across this?

I noticed you are aware that OAuth2 is not working in this issue Are you interested in adding OAuth2 as this will be the next Generation of Authentications? I probably could help implementing it, if you are interested.

Best regards, LarsTi

xhit commented 2 years ago

Hi, currently I don't have plans to add support for that, but of you are interested to implement it I will check and approve a PR.

Thanks!

drakkan commented 1 year ago

I added Oauth2 support here. The Microsoft variant is untested

xhit commented 1 year ago

Hi @drakkan good implementation!

Can I add it to this package?

Thanks!

drakkan commented 1 year ago

Hi @drakkan good implementation!

Can I add it to this package?

Thanks!

sure, go-mail is MIT licensed, I think you only have to give credits to go-mail Authors, not me, see the license conditions here