Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Sending email from python
# Python code to illustrate Sending mail from # your Gmail account import smtplib # creates SMTP session s = smtplib.SMTP('smtp.gmail.com', 587) # start TLS for security s.starttls() # Authentication s.login("sender_email_id", "sender_email_id_password") # message to be sent message = "Message_you_need_to_send" # sending the mail s.sendmail("sender_email_id", "receiver_email_id", message) # terminating the session s.quit()
run
|
edit
|
history
|
help
1
https://rextester.com/REAL13110
sensi
947
error
My name
Python Monthly Calendar
global 3
class objects
Python3: List Functions I
we