add a reply-to header in mails from the webpage

This commit is contained in:
Dan Olson 2000-10-12 23:26:17 +00:00
parent bd33c02afe
commit bf539989e3

View file

@ -1,7 +1,7 @@
<?
if (isset($clicked)) {
StripSlashes($message);
mail("quake-user@lists.sourceforge.net", "Comments (Sent from www.quakeforge.net)", StripSlashes($message), "From: $sender\r\n");
mail("quake-user@lists.sourceforge.net", "Comments (Sent from www.quakeforge.net)", StripSlashes($message), "From: $sender\r\nReply-To: $sender\r\n");
header("Location: http://www.quakeforge.net/thanks.php");
exit;
}