Kitura / Swift-SMTP

Swift SMTP client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error with xouath2

shapkar opened this issue · comments

Hello,
I want to use Swift SMTP with my g suite gmail account, I created service account, created key in pkcs (p12) format, added it as chainFile and got Error: "bad response" when authenticating with xOuath2.
If I create certificate and private key from p12 file I'm getting, pkcs12 is not specified.
I don't know which certificate to use, which key, can you please provide an example of Swift SMTP with TLS ?

Thank you