email .ex4 file

 
is there a way to email .ex4 file through sendmail ?
 
yes. like any binary attachment. maybe convert to base64