Command line mail w/attachment

Igor Pechtchanski pechtcha@cs.nyu.edu
Tue Aug 5 18:08:00 GMT 2003


On Tue, 5 Aug 2003, C Wells wrote:

> What is the simplest way to send email from the
> command line, so that I can mime attach files (html,
> binary, etc). I would like to specify everything on
> the command line, because I don't know how to
> configure sendmail. I just need to call the email
> sending mechanism from a cygwin bash script. Ideas ?
> Thanks

Use a perl module or the mutt command line interface.  Or construct the
message yourself and pipe it to exim (which is easily configurable,
FWICS).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list