Mailx is a unix mail processing system that provides sending and receiving facility.
Mailx is an intelligent mail processing system, which has a command syntax reminiscent of ed(1) with lines replaced by messages.
Attachments, cc and bcc are well supported with mailx
command.