From 3b0d26fb17f338630a08e5c1a8793939fa991d4f Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Wed, 6 Jan 2010 21:00:25 -0500 Subject: mention where it came from --- tools/write-mime-multipart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') 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 -- cgit v1.2.3