Browse Source
fix: email fetch error for imaplib (#15581)
* fix: remove maxline for imaplib
* refactor: remove redundant line
Co-authored-by: Summayya <frappe@Summayyas-MacBook-Air.local>
version-14
Summayya Hashmani
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
4 deletions
-
frappe/email/receive.py
|
|
@@ -27,11 +27,7 @@ from frappe.utils.html_utils import clean_email_html |
|
|
|
|
|
|
|
# fix due to a python bug in poplib that limits it to 2048 |
|
|
|
poplib._MAXLINE = 20480 |
|
|
|
imaplib._MAXLINE = 20480 |
|
|
|
|
|
|
|
# fix due to a python bug in poplib that limits it to 2048 |
|
|
|
poplib._MAXLINE = 20480 |
|
|
|
imaplib._MAXLINE = 20480 |
|
|
|
|
|
|
|
|
|
|
|
class EmailSizeExceededError(frappe.ValidationError): pass |
|
|
|