On Fri, August 31, 2007 6:15 pm, James G. Sack (jim) wrote: > Neil Schneider wrote: >> John H. Robinson, IV wrote: >>> Neil Schneider wrote: >>>> John Oliver wrote: >>>>> How do you change the From: header when sending mail from the command >>>>> line with 'mail'? >>>> -r address >>>> Sets the From address. Overrides any from variable >>>> specified >>>> in >>>> environment or startup files. Tilde escapes are >>>> disabled. >>>> The >>>> -r address options are passed to the mail transfer >>>> agent >>>> unless >>>> SMTP is used. >>> Tested on: >>> >>> Debian GNU/Linux 4.0 >>> Debian GNU/Linux 3.1 >>> Red Hat Enterprise Linux Server release 5 >>> Red Hat Enterprise Linux ES release 4 (Update 5) >>> Red Hat Enterprise Linux ES release 3 (Update 8) >>> Red Hat Enterprise Linux ES release 3 (Update 5) >>> Red Hat Linux release 9 >>> Fedora Core release 5 >>> >>> All failed. What version of mail are you using? >> >> I don't use any, very often. This particular man page excerpt came from >> my >> SuSE 10.0 system running mailx-11.4-4. I didn't test, I just looked up >> the man >> page. >> > > Seems to me I used to use perl's Mail::Sendmail just in order to specify > "from" at message submittal time. > > Now I see that python has a smtplib package that seems similarly useful. > > Prolly, there's a tcl-way as well? > > Regards, > ..jim >
Probably. http://wiki.tcl.tk/3224 -- Lan Barnes SCM Analyst Linux Guy Tcl/Tk Enthusiast Biodiesel Brewer -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
