This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Command line email clients
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Robert Pollard <rpollard at apple dot com>
- Cc: cygwin at cygwin dot com
- Date: Fri, 14 May 2004 12:58:39 -0400 (EDT)
- Subject: Re: Command line email clients
- References: <E6380298-A5C0-11D8-9314-000A957A7EA8@apple.com>
- Reply-to: cygwin at cygwin dot com
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@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/