'MAILX sends email but Subject and the Body Text are blank

The following command just started sending an email with a Blank Subject and Body Text.

mailx -s "Daily Extract" $RESULT_EMAIL < $LOG

$RESULT_EMAIL - Contains a Distribution List that has been confirmed.

$LOG - Contains the contents of the email that has been confirmed.

Any ideas why the email is now blank with no subject line?

This is on a PROD server that had normal patching done. Maybe the Java version? Red Hat Server version? mailx doesn't work with version XXX?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source