瀏覽代碼

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
父節點
當前提交
645fde2e67
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 0 行新增4 行删除
  1. +0
    -4
      frappe/email/receive.py

+ 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 # fix due to a python bug in poplib that limits it to 2048
poplib._MAXLINE = 20480 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 class EmailSizeExceededError(frappe.ValidationError): pass


Loading…
取消
儲存