On Jul 21, 2013, at 1:42 AM, Indunil Jayasooriya indunil75@gmail.com wrote:
Hi,
When no MTA is installed, How to send an email with a cronjob?
I have below entrty in my cronjob?
my /etc/cron.d/backup file looks like this.
MAILTO=myemail@example.com 15 11 * * * root /root/scripts/backup.sh
Can I send this email via SMTP server?
Hope to hear from you.
There is a nifty perl script which does this, and can even do attachments:
http://caspian.dotconf.net/menu/Software/SendEmail/
______________________________________________________________________ If life gives you lemons, keep them-- because hey.. free lemons. "♥ Sticker" fixer: http://microflush.org/stuff/stickers/heartFix.html