On 2020-03-18 18:42, ToddAndMargo via perl6-users wrote:
Hi Guys,
This is a long shot, but have any of you figured out
how to send eMail through G-Mail with OAuth2?
I have a module that uses cURL, but I can't figure
out how to get it to work with OAuth2.
RFE: please support OAuth2
https://github.com/retupmoca/P6-Net-SMTP/issues/24
Is in the works, but I need to get something going
by June 2020 as s-suite will stop supporting
Less Secure Apps at that time.
Many thanks,
-T
Found this:
python & smtplib: Is sending mail via gmail using oauth2 possible?
https://stackoverflow.com/questions/11445523/python-smtplib-is-sending-mail-via-gmail-using-oauth2-possible
But it is python we doh't have anything equivalent to
import oauth2 as oauth
import oauth2.clients.imap as imaplib
:'( :'( :'( (three is worse than one)