Mail Archives: cygwin/2004/05/14/12:59:04
On Fri, 14 May 2004, Robert Pollard wrote:
> Hi,
>
> I need to automate email notifications from a shell script. I also
> need to be able to set up the email servers for sending mail through a
> shell script. Which ever email client I use, I need to automate the
> process of setting up and sending mail.
>
> I have looked at Pine and tried to find information on ssmtp but can't
> locate any information on it. Pine seems a bit much for what I need.
> I would like to be able to just send email and not have the overhead of
> Pine. Is there documentation on ssmtp that will show me how to setup a
> smtp server and send an email to it?
>
> Thanks,
> Robert Pollard
Have you checked the first obvious place,
/usr/share/doc/Cygwin/ssmtp-2.60.4.README (and the second,
/usr/share/doc/ssmtp-2.60.4/README)?
There are SMTP modules for perl, and another mailer, "mutt", which may
have the scripting capability you need (as it has a "mail" emulation
mode). Also, someone posted a "mail" script recently (within the past
week) that uses ssmtp and may do exactly what you want.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT 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/
- Raw text -