Closed rich7 closed 7 years ago
As noob I tried yagmail. But I got pretty fast stuckted in an error I installed both pip install yagmail pip3 install yagmail
Ended in: Successfully installed yagmail keyring secretstorage pycrypto Cleaning up...
then I copied the example as provide
import yagmail yag = yagmail.SMTP('xxxxx_pz@top10top.com', 'xxxxx').send('richard_xxxx@yahoo.com', 'subject', 'This is the body')
With this as result.
File "test.py", line 1, in import yagmail ImportError: No module named yagmail
Tried serveral things like starting from different directories.. Any clue how to solve this?
Which python version are you running? E.g. do you start python with python or with python3?
python
python3
ok start with python3 does the job, thank you for your fast answer
As noob I tried yagmail. But I got pretty fast stuckted in an error I installed both pip install yagmail pip3 install yagmail
Ended in: Successfully installed yagmail keyring secretstorage pycrypto Cleaning up...
then I copied the example as provide
With this as result.
File "test.py", line 1, in
import yagmail
ImportError: No module named yagmail
Tried serveral things like starting from different directories.. Any clue how to solve this?