łň jČKc@sldZddkZddkZddklZdefd„ƒYZedjoeeiƒiƒndS(s3Add email headers to stdin for piping to sendmail. i˙˙˙˙N(t commandertmailercBsƒeZdZdZeiidƒZegZ e edƒD]Z e e i ƒi ddƒq;[ ƒZd„Zd„Zd„ZRS( s1Add email headers to stdin for piping to sendmails%prog 2008.06.22.0s~/Documents/maileraddresses.tsvtrUs icCsEd}|iidddddddd d |d d d d|ƒdS(sCPopulate the option parser (self.optParser) with available options.s mailer.pys-ss --subjecttactiontstoretdesttsSubjectttypetstrtdefaulttmetavars "SUBJECT"thelps#add "Subject: SUBJECT" (default %s)N(t optParsert add_option(tselftsSubjectDefault((su/Users/amos/Documents/Database/Mental/Programming/python/lib/avatar/Personal2/www.amos/Python/lib/commander/mailer.pytoptionss cCsUg}|iD]7}|ii|iƒƒo||i|iƒqq~|_dS(s#Interpret the command line options.N(tlsArgst dAddressesthas_keytlowert lsAddresses(Rt_[1]ts((su/Users/amos/Documents/Database/Mental/Programming/python/lib/avatar/Personal2/www.amos/Python/lib/commander/mailer.pytResolveOptions's cCsAdid|iiddi|iƒdtiiƒgƒGHdS(Ns s Subject: %ssTo: %ss, t(tjointoptRRtsyststdintread(R((su/Users/amos/Documents/Database/Mental/Programming/python/lib/avatar/Personal2/www.amos/Python/lib/commander/mailer.pytmain/s  (t__name__t __module__tsUsagetsVersiontostpatht expandusert pathAddressestdictRtopenRtstriptsplitRRRR(((su/Users/amos/Documents/Database/Mental/Programming/python/lib/avatar/Personal2/www.amos/Python/lib/commander/mailer.pyRsB t__main__(t__doc__RR$RRR targvR(((su/Users/amos/Documents/Database/Mental/Programming/python/lib/avatar/Personal2/www.amos/Python/lib/commander/mailer.pys s &