PHP mail() : Recipient names must be specified

This can be resolved by adding the -t argument to the sendmail_path in php.ini