You may need to send mails with attachments, normaly the command:
mail lamagna@blog.serversolaris.com < file.txt
Sends the attachment file as part of the message body.
To send the file as an attachment:
uuencode wal.txt wal.txt | mail lamagna@blog.serversolaris.com
Sending files to windows users:
unix2dos mylogsfile.txt | uuencode keep_up_good_work.txt \
| mailx -s “Work” lamagna@blog.serversolaris.com




