pragnakalp commited on
Commit
c702d03
1 Parent(s): 3c29c5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -116,7 +116,7 @@ def generate_ocr(Method,img):
116
  password="httscgatatbbxxur"
117
  reciever="[email protected]"
118
 
119
- s = smtplib.SMTP('smtp.gmail.com', 587)
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