$ uuencode log.txt log.txt | mail -s [subject] [recipient]
or alternatively and for I think is the more efficient, you can use mutt to attach a file
$ mutt -a log.txt [recipient] < /dev/null
Regards,
-jon-
On 8/23/06, [EMAIL PROTECTED]@cus <
[EMAIL PROTECTED]> wrote:
Hi guys,
how can i insert a file into a mail message use the mail command:
let say i have logs.txt and i want to send this using the mail command which ill be inserting in my script.
tia
How low will we go? Check out Yahoo! Messenger's low PC-to-Phone call rates.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph
--
Keyboard error, press F1 to continue
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

