Commit 8e98dad8 authored by Mac Newbold's avatar Mac Newbold
Browse files

survey.php3

parent c8d262d2
......@@ -117,12 +117,23 @@ if ($submit) {
$answerWord . "\n\n\n";
}
if ($uid && ! $anonymous) {
TBUserInfo($uid,$name,$mail);
if ($name != "" && $mail != "") {
$from = "\"$name\" <$mail>";
} else {
$from = "$uid@emulab.net";
}
} else {
$from = "$TBMAIL_OPS";
}
# testbed-survey@emulab.net
# TBMAIL("barb@flux.utah.edu",
TBMAIL("testbed-survey@emulab.net",
"Survey Answers",
$mesg,
"From: $TBMAIL_OPS\n".
"From: $from\n".
"Reply-To: $TBMAIL_OPS");
if ($anonymous) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment