This is what i have so far and I need my email address to appear in the from field on the email. It works as of now but with no from sender. $subject = 'ALERT '; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; // Mail it mail($to, $subject, $limitedtextarea, $headers);
hi i did this ... seems to be working $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= "Reply-To: $name <$email>" . "\r\n"; $headers .= "From: SOME TEXT<email@yourdomain.com>\r\n" . "X-Mailer: php"; the 'from' works but if somebody looks at the details they can see source of the mail ... is there a way to hide it?