aussehen rahmen
This commit is contained in:
@ -72,7 +72,7 @@ if (!filter_var($toEmail, FILTER_VALIDATE_EMAIL))
|
||||
return;
|
||||
}
|
||||
|
||||
$subject = 'Tier gefunden: ' . $name .' ID: '. $qr_id;
|
||||
$subject = 'Tier gefunden: ' . $name .' ID: '. $qr_id;
|
||||
|
||||
// $headers =
|
||||
// array(
|
||||
|
||||
@ -43,18 +43,18 @@ function sendMail($email, $pwtoken)
|
||||
$mail = new CNetcupMailer();
|
||||
$mail->CharSet = "UTF-8";
|
||||
|
||||
$mail->setFrom('dog@hope-fly.de', 'Administrator');
|
||||
$mail->setFrom('dog@hope-fly.de', 'Administrator hope-fly.de/dog');
|
||||
$mail->addAddress($email); //Add a recipient
|
||||
$mail->addReplyTo('No Reply');
|
||||
$mail->isHTML(true);
|
||||
//Attachments
|
||||
|
||||
//Content
|
||||
$mail->Subject = 'Passwort zurücksetzen!';
|
||||
$mail->Subject = 'Ihr neues Passwort!';
|
||||
$mail->Body =
|
||||
"<h3>Neues Passwort setzen</h3>
|
||||
<p>Gültig bis $expiresStr</p>
|
||||
<a href='https://hope-fly.de/dog/pwreset/$pwtoken'>Setzen</a>";
|
||||
<p>Link gültig 30 Minuten bis $expiresStr</p>
|
||||
<a href='https://hope-fly.de/dog/pwreset/$pwtoken'>Passwort setzen</a>";
|
||||
|
||||
return $mail->send();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user