+ 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?
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
+ 10
Mert Yazıcı can you explain this part
server = smtplib.SMTP('smtp.gmail.com', 587)
what do the numbers at the end mean?
+ 8
port I think
+ 7
Ok
how do I find that
+ 7
thanks Mert Yazıcı
+ 6
I don't know but this might help you https://docs.python.org/3/library/smtplib.html?highlight=smtplib#module-smtplib
+ 6
Oni Oluwaseun Shaydus and the other two are mentioned above?
+ 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
+ 3
smtplib and email
go to docs.python.org to learn more
+ 3
python modules email
+ 2
The numbers represent the port that will be used to send the data over
+ 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)
+ 1
import smtp
+ 1
You can use smtp library... It's simple and effective.
+ 1
nice the module + sertificat
0
Check this simple example of Python send email...
http://net-informations.com/python/net/email.htm