mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-20 08:56:15 +01:00
...
This commit is contained in:
parent
cfb7f9877e
commit
644ef91811
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,6 @@
|
|||
'''
|
||||
|
||||
import sys, traceback, os
|
||||
from email import encoders
|
||||
from calibre import isbytestring
|
||||
|
||||
def create_mail(from_, to, subject, text=None, attachment_data=None,
|
||||
|
|
@ -19,6 +18,7 @@ def create_mail(from_, to, subject, text=None, attachment_data=None,
|
|||
|
||||
from email.mime.multipart import MIMEMultipart
|
||||
from email.utils import formatdate
|
||||
from email import encoders
|
||||
|
||||
outer = MIMEMultipart()
|
||||
outer['Subject'] = subject
|
||||
|
|
|
|||
Loading…
Reference in a new issue