Using a script to send a file to email address
Hi,
I am having problems atm. Basically I have a script that pulls system logs from a router and puts them into a file. I want to then send an email with this file to an eamil address.
My server has EXIM4 running for email. I can send an email out fine but i`m not sure how to send a file as an attachment.
Any help wouyld be most welcome.
|