develooper Front page | perl.perl6.users | Postings from March 2020

Re: OAuth2?

Thread Previous | Thread Next
From:
ToddAndMargo via perl6-users
Date:
March 22, 2020 12:18
Subject:
Re: OAuth2?
Message ID:
a01eaa52-5c33-e2e4-6da3-ba46b38a28f1@zoho.com
On 2020-03-21 22:56, Peter Scott wrote:
> 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.

You may wish to sign up for this RFE/Bug I posted:

RFE: please support OAuth
https://github.com/retupmoca/P6-Net-SMTP/issues/24

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About