Need to send file through mail from Solaris

I have Solaris-10 and some job is writing a log. My client needs this log file every two hour in his mail.
Usually I send manual mail through mailx command, as sendmail is configured with relay server, but I am not sure, how to attach file in a mail and set it in cronjob.
Please give me some pointer on this.

Check for uuencode.

Example :

(uuencode FILENAME ATTACHNAME) | mailx -ms "Subject" mail@mail

Thanks Peasant. I tried putting putting all in a script and set it up in cronjob, but I am not getting attachment mail, while I am getting mail with lot of "M" in mail body and some junk in end of mail. What am I doing wrong here ?

ATTFILE=/lmm/apps/LMBP/Team_db1129.log  # File to be attached and generally requiring encoding
SUBJECT="Test"     # Change as needed
MAILTO=first_last_name@mailx.com  # Ditto
uuencode $ATTFILE $ATTFILE | mail -ms "$SUBJECT" $MAILTO

I belive you are missing the ( ... ) from my example.

Regards
Peasant.