issue-sign-in

header( “Location: $errorurl” );
exit ;
}
}
if (empty($email)) {
$email = $mailto ;
}
$fromemail = (!isset( $use_webmaster_email_for_from ) || ($use_webmaster_email_for_from == 0)) ? $email : $mailto ;

if (function_exists( ‘get_magic_quotes_gpc’ ) && get_magic_quotes_gpc()) {
$comments = stripslashes( $comments );
}

$messageproper =
“This message was sent from:\n” .
“$http_referrer\n” .
“————————————————————\n” .
“Name of sender: $fullname\n” .
“Email of sender: $email\n” .
“————————- COMMENTS ————————-\n\n” .
$comments .
“\n\n————————————————————\n” ;
$optin .
“\n\n————————————————————\n” ;

$headers =
“From: \”$fullname\” <$fromemail>” . $headersep . “Reply-To: \”$fullname\” <$email>” . $headersep . “X-Mailer: chfeedback.php 2.15.0” .
$headersep . ‘MIME-Version: 1.0’ . $headersep . $content_type ;

if ($use_envsender) {
mail($mailto, $subject, $messageproper, $headers, $envsender );
}
else {
mail($mailto, $subject, $messageproper, $headers );
}
header( “Location: $thankyouurl” );
exit ;

?>