How to install python smtplib module in ubuntu os
4 answers
I will tell you why you might be wrong, like Error no module smtplib
I created the program as email.py
Now email is a module in python and because of this it starts giving error for smtplib also
then I had to delete the email.pyc file and then rename the email.py to mymail.py
After that no smtplib error
Make sure your filename is consistent with the python module. Also see Because of this, any * .pyc file created inside the folder
+6
source to share