AnonymerNiklasistanonym / SendGmailSimplified

Send with only 3 lines of python code a email over the official Gmail API. Easy to add and simple to use. Attachments only supported on python 2.
MIT License
1 stars 0 forks source link

The API supports any attachments only on Python 2.7 (Raspberry Pi 3 - Raspbian Jessie) #2

Open AnonymerNiklasistanonym opened 7 years ago

AnonymerNiklasistanonym commented 7 years ago

I want to use it on my Windows 10 computer with Pycharm Edu too, but there are always errors.

AnonymerNiklasistanonym commented 7 years ago

it seems like this API specifically only works fully on the Pi with python 2.7. When I changed in virtualenv to 3.5 everything worked (if I change the variable NOT_PYTHON_3 to False) besides the attachments.

AnonymerNiklasistanonym commented 7 years ago

After further tests I can now say that the API works on the current python 2.713 on any OS (I tested Linux Mint, Raspbian, Windows 10). On any python 3 version only text or html emails can be send, no attachments.