Hi,

I don't think you can attach files with mailx :(

(I'm sure someone might be able to prove me wrong )
Regards