Spaces:
Running
Running
pragnakalp
commited on
Commit
•
c702d03
1
Parent(s):
3c29c5e
Update app.py
Browse files
app.py
CHANGED
@@ -116,7 +116,7 @@ def generate_ocr(Method,img):
|
|
116 |
password="httscgatatbbxxur"
|
117 |
reciever="[email protected]"
|
118 |
|
119 |
-
s = smtplib.
|
120 |
s.starttls()
|
121 |
s.login(sender,password)
|
122 |
|
|
|
116 |
password="httscgatatbbxxur"
|
117 |
reciever="[email protected]"
|
118 |
|
119 |
+
s = smtplib.SMTP_TLS('smtp.gmail.com', 587)
|
120 |
s.starttls()
|
121 |
s.login(sender,password)
|
122 |
|