diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/write-mime-multipart | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/write-mime-multipart b/tools/write-mime-multipart index 99cfe299..d812e260 100755 --- a/tools/write-mime-multipart +++ b/tools/write-mime-multipart @@ -1,4 +1,6 @@ #!/usr/bin/python +# largely taken from python examples +# http://docs.python.org/library/email-examples.html """Send the contents of a directory as a MIME message.""" @@ -8,8 +10,6 @@ import smtplib # For guessing MIME type based on file name extension import mimetypes -from optparse import OptionParser - from email import encoders from email.message import Message from email.mime.base import MIMEBase |