Skip to content

MailKit OAuth2 SMTP Gmail Send Mail #1832

Answered by jstedfast
Zz-ing asked this question in Q&A
Discussion options

You must be logged in to vote

Those are all scopes, yes, but they are not the correct scopes which is why it is failing for you.

You need to use specifically "https://mail.google.com/" and ONLY that scope in order to authenticate via "legacy protocols" like SMTP.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@Zz-ing
Comment options

@jstedfast
Comment options

@Zz-ing
Comment options

@jstedfast
Comment options

Answer selected by Zz-ing
@Zz-ing
Comment options

@jstedfast
Comment options

@Zz-ing
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants