Re: When no MTA is installed, How to send an email with a cronjob?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos





[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux