mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
cfb7f9877e
commit
644ef91811
@ -10,7 +10,6 @@ This module implements a simple commandline SMTP client that supports:
|
||||
'''
|
||||
|
||||
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…
x
Reference in New Issue
Block a user