Hey guys i always needed a mailer script which can send me hourly/daily/weekly updates of my diffrent programs running on linux box.
I tried sendmail and mutt but they were not much impressive.
I made a python script for myself and this works like KILLER.
I dont had a SMTP details of my clients server neither access to it.
This badass script in python worked well for me, hope it will help you too ;)
if you do adjust following things you can send attachment too.
Happy coding ….. :)