Canjucks Posted January 31, 2021 Share Posted January 31, 2021 I'm getting errors in the header with no From being present. I'm not sure how to add that. Can someone help? $url = $_SERVER["HTTP_ORIGIN"] . $_SERVER["SCRIPT_NAME"] . "?page=forgotPassword&action=resetPassword&auth=" . $user["U_password"] . "&id=" . $user["U_id"] . ""; $body = "To reset your password please follow the link below: \r\n " . $url; mail($user["U_email"], "Password Reset", $body); } hours later I find the answer ... well I thought of it just couldn't do it ... this computer geek does competitive sports lol Anyway just needs a $from line and added to mail() problem solved Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.