On Tue, 2007-04-17 at 06:53 -0400, ken wrote:
I need to email from the command line a previously created file. (The finished working command will go into cron and so should be completely programmatic.) Using Linux, There are a few open source apps that should work: mail, mailx, and nail. Weirdness is that they all share the same manpage. So maybe they all work exactly the same (???).
I have used mutt to mail things via the command line. I do this inside makefiles. mutt -s "Subject" -a file_to_send. user@wherever.com My use was more complicated. But it does work. Another way is via Tcl and the mime extension. A few lines of script and you can send e-mail however you want. We run some analysis software that sends e-mail logs to a selected user when each section has completed analysis. Don't ask why. -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Kapellgränd 7 P.O. Box 4205 SE-102 65 Stockholm, Sweden Tel: Int +46 8-615 60 20 Fax: Int +46 8-31 42 23 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org