+ 12

[SOLVED]What is the module for sending emails?

so. i was reading a book on python (it's called head first python). And when it talked about modules, it mentioned a bunch of stuff of what modules can do. And one of those things was send emails. So I'm wondering. What is that module? and where can I learn more about it?

6th Aug 2018, 8:18 PM
LONGTIE👔
LONGTIE👔 - avatar
17 Réponses
+ 17
LONGTIE👔 Year ago I made python mail bomber. You can chceck this code. It's simple☺ https://code.sololearn.com/cCKSrR4sPwch/?ref=app
7th Aug 2018, 5:57 PM
r8w9
r8w9 - avatar
+ 10
Mert Yazıcı can you explain this part server = smtplib.SMTP('smtp.gmail.com', 587) what do the numbers at the end mean?
6th Aug 2018, 8:36 PM
LONGTIE👔
LONGTIE👔 - avatar
+ 8
port I think
6th Aug 2018, 8:39 PM
Mert Yazıcı
Mert Yazıcı - avatar
+ 7
Ok how do I find that
6th Aug 2018, 8:40 PM
LONGTIE👔
LONGTIE👔 - avatar
+ 7
6th Aug 2018, 8:46 PM
LONGTIE👔
LONGTIE👔 - avatar
+ 6
I don't know but this might help you https://docs.python.org/3/library/smtplib.html?highlight=smtplib#module-smtplib
6th Aug 2018, 8:44 PM
Mert Yazıcı
Mert Yazıcı - avatar
+ 6
Oni Oluwaseun Shaydus and the other two are mentioned above?
8th Aug 2018, 1:54 AM
LONGTIE👔
LONGTIE👔 - avatar
+ 5
that's sort of what I'm trying to do. but what I'm stuck on now is how to install the module https://www.sololearn.com/discuss/1443992/?ref=app
7th Aug 2018, 5:59 PM
LONGTIE👔
LONGTIE👔 - avatar
+ 3
smtplib and email go to docs.python.org to learn more
7th Aug 2018, 1:19 AM
Leo
Leo  - avatar
+ 3
python modules email
7th Aug 2018, 3:11 AM
Nick
+ 2
The numbers represent the port that will be used to send the data over
7th Aug 2018, 1:17 AM
Dustin Hammack
Dustin Hammack - avatar
+ 2
There are three ways to send email: Using OSGI ServiceSending via GUIBy publishing an event(the event is exposed as an action in tasks)
8th Aug 2018, 1:46 AM
Oluwaseun Shaydus Oni
Oluwaseun Shaydus Oni - avatar
+ 1
import smtp
8th Aug 2018, 6:11 AM
🅿️®️⭕️_e✖️e
🅿️®️⭕️_e✖️e - avatar
+ 1
You can use smtp library... It's simple and effective.
9th Aug 2018, 6:06 PM
Vinay Kumar.M
Vinay Kumar.M - avatar
+ 1
nice the module + sertificat
14th Aug 2018, 8:54 AM
andre Akinin
andre Akinin - avatar
0
Check this simple example of Python send email... http://net-informations.com/python/net/email.htm
21st Aug 2019, 6:45 AM
rahul kumar
rahul kumar - avatar