i am using the code to send mail via php
$to = $_POST['userId'];
$subject = "New password received";
$body = 'Your new password is '.'"'.$newPass.'"';
if (mail($to, $subject, $body)) {
mail. Please check your mail!</p>");
$succ = 'Password successfully sent to your mail. Please check your mail!';
} else {
$err = 'Password delivery failed!';
}
now mail is going to the user. but from address is coming as they configure in host(godaddy.com). now how to change the form address in host(godaddy),so that i can get desire from address in received mail?
thanks..