mail (a bit ot)

Ian MacDonald ian at macware.net
Tue Apr 10 22:27:01 BST 2001


Try something like:

gzip -c <FILENAME> |uuencode <FILENAME>.gz |mail -s "SUBJECT"
SOMEONE at SOMEWHERE.CO.UK

Ian.


-----Original Message-----
From: David Richards [mailto:DavidR at eurosoft-uk.com]
Sent: 10 April 2001 15:36
To: 'freebsd-users at ukug.uk.freebsd.org'
Subject: mail (a bit ot)


i am try to get crontab to run a script that zips some and emails them
to
someone. Currently i am using 
mail -s subject email address 
But I dont know how to attach the files to the email. Is there any other
way
of doing this 

thanks
david

------ FreeBSD UK Users' Group  -  Mailing List ------
http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users




More information about the Ukfreebsd mailing list