PHP mail() function is disabled on free hosting accounts.
To use the PHP mail() function on paid hosting accounts, please follow the instructions here.