aussehen rahmen

This commit is contained in:
Peter Hoppe
2023-02-10 15:44:31 +01:00
parent 0e9d6299af
commit fcc8c268bd
9 changed files with 56 additions and 10 deletions

View File

@ -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(

View File

@ -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();
}