![]() I get this error when I attempt to Authenticate with the server: I am attempting to authenticate with a Google Smtp server using oAuth2. 'Authorization': 'Bearer ' AccessToken, Raw = base64.urlsafe_b64encode(message.as_bytes())īody = create_message(EmailFrom, EmailTo, "Just wanna Say Waka Waka!", "Waka Waka!") R = requests.post(authorization_url, data=params)ĪccessToken = str((r.json()))ĮmailFrom = create_message(sender, to, subject, message_text): I want to know what is the proper way to send Gmail with Google Gmail API. Is it possible to use the Python requests library to send Gmail only using the Google Gmail API? I am trying to send Gmail with a python request library. ![]() Is there a way to get the same behaviour but with both properties ? (parent_id
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |