The may not allow the send mail setting to be changed through ini set.
if it's not working, you will need to do it in a php.ini file.
if you need help with that, you should contact the host.
different hosts have different setups. It is quite common to run into an issue with settings on one host but not on another.