~halfdan/+junk/dumbmail

« back to all changes in this revision

Viewing changes to sbin/dumbmail-queue

  • Committer: Rasmus Toftdahl Olesen
  • Date: 2011-08-22 14:40:07 UTC
  • Revision ID: halfdan@halfdans.net-20110822144007-garcvm2qs9scx6cx
Re-implement dumbmail-inject in C and move the FROM/TO handling code to dumbmail-send to make the C implementation of -inject as simple as possible.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/python
2
2
 
3
 
from os import path
4
 
import sys
5
 
sys.path.insert ( 0, path.join(path.dirname(__file__), '..', 'lib' ) )
6
 
 
7
3
from dumbmail import open_store, get_message_title, get_message_date, get_message_from, get_message_to
8
 
 
9
4
from optparse import OptionParser
10
5
 
11
6
parser = OptionParser ()