瀏覽代碼
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
沒有發現已知的金鑰在資料庫的簽署中
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 |
|
|
|