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
parent
commit
645fde2e67
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      frappe/email/receive.py

+ 0
- 4
frappe/email/receive.py View File

@@ -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


Loading…
Cancel
Save