Page 1 of 1

does PB support oAuth2 to send email ?

Posted: Thu Jul 25, 2024 10:20 am
by moricode
if use PB email lib functions , can we send email with oAuth2 server like Gmail.com or outlook.com ?

Re: does PB support oAuth2 to send email ?

Posted: Thu Jul 25, 2024 1:16 pm
by infratec
I don't think so.

But you can try my libcurl.pbi (smtp example) and add CURLOPT_XOAUTH2_BEARER

https://curl.se/libcurl/c/CURLOPT_XOAUTH2_BEARER.html