Skip to content

Commit 87444ba

Browse files
Update mail.py
1 parent 3a30497 commit 87444ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mail.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import csv
33
import re
44

5-
username = ""
5+
email = ""
66
password = ""
77
server = smtplib.SMTP('smtp.gmail.com', 587)
88
server.starttls()
@@ -14,6 +14,6 @@
1414
name = line['fullname']
1515
msg = "Hey"+name+" ! Hope you're having a good time!"
1616
add = line['email']
17-
server.sendmail("[email protected]", add, msg)
17+
server.sendmail(email, add, msg)
1818

1919
server.quit()

0 commit comments

Comments
 (0)