Unable to send e-Mail from crontab in Cygwin

Shantaraman,Karthik k.shantaraman@ufl.edu
Wed Sep 16 17:43:00 GMT 2015


Hi,
I have set up cygwin in my Windows Vista machine and have configured 
cron by running the cygrunsrv command.

I am trying to send an automated mail everyday with cron but it is not 
working out. Could you help me with this?

#Borrowed from anacron
SHELL=/bin/bash
PATH=/usr/sbin:/usr/bin
USER=karthik.techvs@gmail.com
MAILTO="karthik.techvs@gmail.com"
#End borrowed from anacron

15 10 * * * sendmail /USER=karthik.techvs@gmail.com 
"karthik.techvs@gmail.com" testmail


I have installed the ssmtp package also after i researched about this 
online.

But it says :

$ ssmtp-config
-bash: ssmtp-config: command not found

Thanks,
Karthik


--
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