i am working on migration project, 8.5 sever able to embedded HTML report to mail body with below sy

i am working on migration project, 8.5 sever able to embedded HTML report to mail body with below syntax.

$ mail -s "subject "recipient mail -- -f sender mail < xyz.html

But above syntax is not working in 11.5 server and changed to below.

$ mail -s "subject"  -r recipient mail sender mail < xyz.html

With the above command am receiving mail with source code of HTML in mail body instead of html report.

Please suggest me solution for the above issue.