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

Steven Hanley sjh at wibble.net
Sat Aug 17 10:20:27 EST 2002


On Fri, Aug 16, 2002 at 09:32:51PM +1000, Rasjid Wilcox wrote:
> 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.

About two years ago when someone else asked the question on this list I put
up a URI to something I wrote that can do it also.

http://svana.org/sjh/climail

it is a perl program using the Mail::Sender module.

Maybe it will be useful.

	See You
	    Steve

-- 
sjh at wibble.net http://wibble.net/~sjh
You are subtle as a window pane standing in my view
but I will wait for it to rain so that I can see you
   Anticipate - Ani



More information about the linux mailing list