fix: dont try to connect to server again when appending email to sent folder
This commit is contained in:
parent
4c3cfd7873
commit
6a37c19d0e
1 changed files with 0 additions and 2 deletions
|
|
@ -657,8 +657,6 @@ class EmailAccount(Document):
|
|||
if not email_server:
|
||||
return
|
||||
|
||||
email_server.connect()
|
||||
|
||||
if email_server.imap:
|
||||
try:
|
||||
message = safe_encode(message)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue