Sending email attachments from command line. [was Re: Sendmail listening on localhost.localdomain]

Rasjid Wilcox rasjidw at openminddev.net
Fri Aug 16 21:32:51 EST 2002


On Fri, 16 Aug 2002 9:15 pm, Leigh Finch wrote:
> While were on the topic of sendmail, anyone have any ideas on how to send
> email with attachments on the command line with the sendmail command? for
> example a cron script that sends me log files every friday?

I use sendEmail, a very nice perl script that seems to do the job.

http://caspian.dotconf.net/menu/Software/SendEmail/

The only gotcha is that the timezone is hardcoded into the script.
Edit line 249.

Rasjid.




More information about the linux mailing list