-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path13TH.PY
More file actions
43 lines (28 loc) · 869 Bytes
/
Copy path13TH.PY
File metadata and controls
43 lines (28 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# import smtplib
# def automatic_email():
# user = input("Enter Your Name >>: ")
# email = input("Enter Your Email >>: ")
# message = (f"Dear {user}, ")
# s = smtplib.SMTP('smtp.gmail.com', 587)
# s.starttls()
# s.login("vipin4239thakur@gmail.com", "ssfm tciu bnwg wkqn")
# s.sendmail('&&&&&&&&&&&', email, message)
# print("Email Sent!")
# automatic_email()
# x=1
# while x<=10:
# print(automatic_email)
# x=x+1
# import smtplib
# sender='vipin4239thakur@gmail.com'
# password='ssfmtciubnwgwkqn'
# reciever='chotuydv1155@gmail.com'
# s = smtplib.SMTP('smtp.gmail.com', 587)
# s.starttls()
# s.login(sender, password)
# message = ("Hello, this is a test email. kese ho")
# for x in range(50):
# print("Email: sending")
# s.sendmail(sender,reciever,message)
# print('email has been sent')
# s.quit()