On 3/21/20 2:20 PM, ToddAndMargo via perl6-users wrote:
On 2020-03-18 18:42, ToddAndMargo via perl6-users wrote:
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.
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
I am in almost exactly the same situation. I don't need to send mail,
but I do need to read Gmail through IMAP and rename folders and move
messages. I am under the same deadline and have done extensive research
without getting anywhere. The documentation and online Q&A do not get
me very far.