in reply to Getting input to mailx

Besides what everyone else has said, mailx has a very important problematic security issue: you can't turn off tilde-escaping, requiring the content to always come from a trusted source. If it's an arbitrary file or field, boom, there goes your webserver or whatever. Bad.

-- Randal L. Schwartz, Perl hacker