import yagmail
user = '[email protected]'
password = 'myPassword'
yag = yagmail.SMTP(user, password)
yag.send('[email protected]', 'Subject')
the final error(before it there are just a bunch of functions pointing at each other) I get is the following:
hostname, aliases, ipaddrs = gethostbyaddr(name) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe1 in position 9: invalid continuation byte
I've very little experience with python, even less with this library and I cannot find any solutions online that work for me.
I'm using the windows version of PyCharm and both python versions are installed (python2 and python3)
The interpreter doesn't work either
edit: doesn't work with smtplib either. The same problem occurs