Use following command to send email with attachment in Solaris from command line
uuencode logfile.zip logfile.zip | mailx -s "Mail subject" email@example.com
uuencode - Encodes file into Base64 so that it can be send as attachment with a mail.
mailx - Email client available in Solaris. Use -s option to specify mail subject.
This is useful for sending log files from server as attachment. This works for me in Solaris 10. It should be same for other versions also.