Please check the manual page mailx(1).