Eğer deneyebilirsiniz
mail($to, $subject, $body, $from, "-f $from");
this works in some configurations, really depending on the server setup.
Otherwise, edit your MTA settings as recommended above, or skip mail() altogether and use a class like PHPmailer that connects directly to the SMTP server.