Use the mail function as following, make sure there is a value for each variable.
[PHP]
mail("$to", "$subject", "$message", "From: $from\nX-Mailer: PHP/ . $phpversion()", "-f $from");
[/PHP]
To learn more about php's mail function please check out the following page:
Comment