Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Fri, 14 May 2004 12:58:39 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Robert Pollard cc: cygwin AT cygwin DOT com Subject: Re: Command line email clients In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 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/