pragnakalp
commited on
Commit
•
28e8ba5
1
Parent(s):
cb6a0f5
Update app.py
Browse files
app.py
CHANGED
@@ -121,7 +121,7 @@ def generate_ocr(Method,img):
|
|
121 |
s.starttls()
|
122 |
s.ehlo()
|
123 |
# Pretend the SMTP server supports some forms of authentication.
|
124 |
-
|
125 |
s.login(sender,password)
|
126 |
|
127 |
|
|
|
121 |
s.starttls()
|
122 |
s.ehlo()
|
123 |
# Pretend the SMTP server supports some forms of authentication.
|
124 |
+
s.esmtp_features['auth'] = 'LOGIN DIGEST-MD5 PLAIN'
|
125 |
s.login(sender,password)
|
126 |
|
127 |
|