Hey Leute,
ich hab ne Regi Page mit Bestätigungs Mail, allerdings kommt diese Mail nie an.
Hier mal die Email:
[PHP]$zuFall = rand(99999,999999999).md5($_POST[‚customer_password‘]).$_POST[‚customer_company‘];
$aktivHash = md5($zuFall);
$sqlCmd = „INSERT INTO costumers (email, password, company, area, sex, firstname, lastname, hash_active) VALUES ('“.$_POST[‚customer_email‘].„', '“.md5(md5($_POST[‚customer_password‘])).„', '“.$_POST[‚customer_company‘].„', '“.$_POST[‚customer_area‘].„', '“.$_POST[‚customer_sex‘].„', '“.$_POST[‚customer_firstname‘].„', '“.$_POST[‚customer_lastname‘].„', '“.$aktivHash.„')“;
$sqlQry = mysqli_query($gs, $sqlCmd);
if($sqlQry) {
$absender = „GameSolutions Registration“;
$email = „no-reply@game-solutions.eu“;
$empfaenger = $_POST[‚customer_email‘];
$mail_body = "Hallo Herr „.$_POST[‚customer_lastname‘].“,
ihre Registration bei GameSolutions war erfolgreich!</br>
Um alle Funktionen nutzen zu können, müssen sie ihren Account aktivieren.</br>
Das können sie über den folgenden Link tun:
http://www.game-solutions.eu/index.php?s=customer&do=aktivieren&hash=".$aktivHash."
Ihre Accountinformationen:<br><br>
Vorname: ".$_POST['customer_firstname']."<br>
Nachname: ".$_POST['customer_lastname']."<br><br>
E-Mail: ".$_POST['customer_email']."<br>
Passwort: ".$_POST['customer_password']."<br><br>
Ihr Projektname: ".$_POST['customer_company']."<br>
Projektbereich: ".$_POST['customer_area']."<br><br>
Vielen Dank für ihr Vertrauen,
MfG
Game Solutions
Diese E-Mail wurde automatisch generiert. Bitte keine Antworten an diese Adresse schicken.";
$titel = "Registrierung auf GameSolutions";
$header = "X-Priority: 3\n";
$header .= "X-Mailer: GameSolutions Homepage Mailer\n";
$header .= "MIME-Version: 1.0\n";
$header .= "From: GameSolutions <no-reply@game-solutions.eu>\n";
$header .= "Reply-To: no-reply@game-solutions.eu\n";
$header .= "Content-Type: text/plain; charset=iso-8859-1\n";
}[/PHP]