[CentOS] When no MTA is installed, How to send an email with a cronjob?

Sun Jul 21 19:02:54 UTC 2013
Joseph Spenner <joseph85750 at yahoo.com>

On Jul 21, 2013, at 1:42 AM, Indunil Jayasooriya <indunil75 at 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 at 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