Using ssmtp called in a script called by a crontab entry...

René Berber r.berber@computer.org
Sat Aug 21 00:28:00 GMT 2010


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



More information about the Cygwin mailing list