This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]