Unix E-Mail Attachments

mail < somefile
Ex:
mail username.com < somefile.txt