We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c62738 commit a8d028eCopy full SHA for a8d028e
1 file changed
Email-Sender/email-sender.py
@@ -0,0 +1,14 @@
1
+import smtplib
2
+
3
+to = input("Enter the Email of recipent:\n")
4
+content = input("Enter the Content for E-Mail:\n")
5
6
+def sendEmail(to, content):
7
+ server = smtplib.SMTP('smtp.gmail.com','587')
8
+ server.ehlo()
9
+ server.starttls()
10
+ server.login('senderemail@gmail.com','12345678')
11
+ server.sendmail('senderemail@gmail.com',to,content)
12
+ server.close()
13
14
+sendEmail(to, content)
0 commit comments