"The mailx man page describes the -S option: -S variable[=value] Sets the internal option variable and, in case of a string option, assigns value to it.
I've not found an example of its use." Here are some examples on use of the mailx -s option: https://www.binarytides.com/linux-mailx-command/