This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Using ssmtp called in a script called by a crontab entry...
- From: René Berber <r dot berber at computer dot org>
- To: cygwin at cygwin dot com
- Date: Fri, 20 Aug 2010 18:39:03 -0500
- Subject: Re: Using ssmtp called in a script called by a crontab entry...
- References: <4C6EF8E2.1000404@coastside.net>
Blaine Miller wrote:
[snip]
> I've run ssmtp-config and accepted the defaults where indicated.
> However, when I type *mail* at the command prompt I get *command could
> not be found*.
There is no mail on the package ssmtp. Try first 'man ssmtp' and see if
the description is enough to do what you want, typically something like
'ssmtp my_recipient@my_domain.com -f my_address@my_domain.com <<EOF
Subject: This is a test
This is the message contents.
EOF'
is enough.
I you want something more complicated then perhaps you need to install
email.
--
René Berber
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple