[Cialug] Cygwin cron & "MAILTO"

L. V. Lammert lvl at omnitec.net
Wed Aug 23 20:53:31 UTC 2017


On Mon, 21 Aug 2017, Matt Stanton wrote:

> Mail servers are touchy, especially with the amount of spam with which
>they have to deal.
>
Matt,

It's not a server issue; I have ssmtp installed, and can send email just
fine with the "email" program via the site email server.

Problem is, I need to get emails from cronjobs - tried putting
"MAILTO=<my email>" at the top of the crontab, no change.

What's the email trick with a crontab under Cygwin? Found one note that
the /use/sbin/sendmail symlink needs to be changed to an actual program to
send email (i.e. /usr/bin/email), but no change.

	Thanks!

	Lee


More information about the Cialug mailing list