link in confirm mail is now clickable
This commit is contained in:
parent
08141b6687
commit
d467fa4db7
@ -48,7 +48,7 @@ try {
|
||||
// build and add link to
|
||||
$confirmQuery = http_build_query(['c' => GetConfirmationHash($email), 'e' => $email]);
|
||||
$confirmLink = $general['siteURL'] . $general['confirmScript'] . "?" . $confirmQuery;
|
||||
$mailContents['bodyHTML'] = str_replace('%Placeholder%', $confirmLink, $mailContents['bodyHTML']);
|
||||
$mailContents['bodyHTML'] = str_replace('%Placeholder%', "<a href=\"{$confirmLink}\">Anmeldung bestätigen</a>", $mailContents['bodyHTML']);
|
||||
$mailContents['bodyText'] = str_replace('%Placeholder%', $confirmLink, $mailContents['bodyText']);
|
||||
|
||||
// send email
|
||||
@ -59,7 +59,7 @@ try {
|
||||
}
|
||||
|
||||
// success
|
||||
$mailContents['subject'] = 'Jemand will den Newsletter abonnieren und hat eine Kopie dieser Mail bekommen';
|
||||
$mailContents['subject'] = 'Jemand will den Newsletter abonnieren und hat gerade eine Kopie dieser Mail bekommen';
|
||||
SendEmail($general['notificationAddress'], $mailContents);
|
||||
GracefulExit($successURL, "Anmeldung erfolgreich: Email mit Bestätigungslink wurde an {$email} versandt.");
|
||||
?>
|
||||
Loading…
Reference in New Issue
Block a user