sending multiple files along with mail message using uuencode

Hi,

I have a requirement to send a mail with multiple files attached to it and along with the text message in the mail.

I am trying sumthing like below but it only sends me the text message and no files attached to the mail.

----------------------------------------

( uuencode file1 f1.txt ; uuencode file2.txt f2 ) | mailx -s "My message" abc@xyz.com << EOF

Here is my text message ....Thanks!

EOF

------------------------------------------

Any help would be appreciated.....!!!!

$ ( echo "Here is my text message ....Thanks" ; uuencode file1 file1.txt ; uuencode file2 file2.txt ) | mailx -s "My message" abc@xyz.com