Need to send attachment without using uuencode and mutt

Hi,
In my Linux am unable to send attachment to mail . Since pkgs for mutt and uuencode is not possible to install any other options for sending attachment will be useful.

Tried the below options but its not working.
mail -s "testmail" -a <filename> abc@mail.com

cat <filename>|mail -s "testmail" abc@mail.com
mail -s "testmail" abc@mail.com < <filename> --- both the options sending mail with the contents of the file not as an attachment.

you can send the file as body of the Mail as follows..
mailx -s "TestMail" abc@xyz.com < "path to input File"

That won't attach the file, and won't encode the contents.

if you want to attach file .. you must have uuencode or mutt installed.

This option is working for me. Need to get the file as attachment without uuencode or mutt