This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Unable to send e-Mail from crontab in Cygwin
- From: "Shantaraman,Karthik" <k dot shantaraman at ufl dot edu>
- To: <cygwin at cygwin dot com>
- Date: Wed, 16 Sep 2015 13:43:43 -0400
- Subject: Unable to send e-Mail from crontab in Cygwin
- Authentication-results: sourceware.org; auth=none
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