소스 검색
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 년 전
committed by
GitHub
No known key found for this signature in database
GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일과
0개의 추가작업 그리고
4개의 파일을 삭제
-
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 |
|
|
|