How to send emails with Python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

How to send emails with Python?

I looked it up and can only find answers for Python 2. Do you need to install a module or is it built in?

1st Dec 2018, 12:43 AM
DrChicken24
DrChicken24 - avatar
6 Answers
+ 7
If it works on 2, it will on 3, check this one: https://code.sololearn.com/cmBfNI7GQP82/?ref=app
1st Dec 2018, 12:46 AM
Hamza Alalach
Hamza Alalach - avatar
+ 7
SoloLearn not support smtplib library therefore we can't send emails through SoloLearn we need to run this program on our PC or pydroid
2nd Dec 2018, 8:04 AM
Ratnapal Shende
Ratnapal Shende - avatar
+ 4
Hamza Alalach Thats really cool, thanks.
1st Dec 2018, 6:35 AM
DrChicken24
DrChicken24 - avatar
+ 4
https://code.sololearn.com/cLGL12eKDQaM/?ref=app run this code in your pc or pydroid
2nd Dec 2018, 5:02 AM
Ratnapal Shende
Ratnapal Shende - avatar
+ 2
By sending 📧 email via programs. 😑
2nd Dec 2018, 7:49 AM
Asim Farheen
Asim Farheen - avatar