Added a number of small changes that didn't work because of a failed
[attachcheck] / attachcheck
old mode 100644 (file)
new mode 100755 (executable)
index 60da156..1c3c6f9
@@ -38,7 +38,11 @@ import re
 
 ## SUB: send message
 def send_message(): 
-    mailpipe = os.popen("%s -t" % sendmail, 'w')
+
+    global sendmail
+    sendmail = sendmail + " " + " ".join( sys.argv[1:] )
+   
+    mailpipe = os.popen("%s" % sendmail, 'w')
     mailpipe.write( message_string )
     sys.exit( mailpipe.close() )
 

Benjamin Mako Hill || Want to submit a patch?