diff --git a/public/de/sitemap.xml b/public/de/sitemap.xml index f5b26de..a78d503 100755 --- a/public/de/sitemap.xml +++ b/public/de/sitemap.xml @@ -3,6 +3,11 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> http://markinstefan.xyz/de/authors/ + - http://markinstefan.xyz/de/categories/ http://markinstefan.xyz/authors/ + - http://markinstefan.xyz/categories/ http://markinstefan.xyz/ http://markinstefan.xyz/series/ - + http://markinstefan.xyz/tags/ + - diff --git a/public/rsvp-submit.php b/public/rsvp-submit.php index 3dc58b0..b60ccf6 100755 --- a/public/rsvp-submit.php +++ b/public/rsvp-submit.php @@ -105,13 +105,23 @@ try { $mail->CharSet = 'UTF-8'; $mail->isSMTP(); - $mail->Host = $_ENV['SMTP_HOST']; - $mail->SMTPAuth = true; - $mail->Username = $_ENV['SMTP_USER']; - $mail->Password = $_ENV['SMTP_PASS']; - $mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; - $mail->Port = (int)$_ENV['SMTP_PORT']; - $mail->Timeout = 10; + +$mail->Host = gethostbyname($_ENV['SMTP_HOST']); + +$mail->SMTPAuth = true; +$mail->Username = $_ENV['SMTP_USER']; +$mail->Password = $_ENV['SMTP_PASS']; + +$mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; +$mail->Port = (int)$_ENV['SMTP_PORT']; + +$mail->Timeout = 10; + +$mail->SMTPOptions = [ + 'ssl' => [ + 'peer_name' => $_ENV['SMTP_HOST'] + ] +]; $mail->setFrom($_ENV['FROM_EMAIL'], $_ENV['FROM_NAME']); $mail->addAddress($_ENV['TO_EMAIL']); diff --git a/public/ru/categories/index.html b/public/ru/categories/index.html index 90c5031..fdd3de6 100755 --- a/public/ru/categories/index.html +++ b/public/ru/categories/index.html @@ -137,14 +137,14 @@ diff --git a/public/ru/index.html b/public/ru/index.html index a76c1ac..8266e40 100755 --- a/public/ru/index.html +++ b/public/ru/index.html @@ -138,14 +138,14 @@ diff --git a/public/ru/series/index.html b/public/ru/series/index.html index 6dbfdab..cee8a31 100755 --- a/public/ru/series/index.html +++ b/public/ru/series/index.html @@ -137,14 +137,14 @@ diff --git a/public/ru/sitemap.xml b/public/ru/sitemap.xml index 685feae..610dced 100755 --- a/public/ru/sitemap.xml +++ b/public/ru/sitemap.xml @@ -20,11 +20,6 @@ /> http://markinstefan.xyz/ru/categories/ - + http://markinstefan.xyz/ru/series/ + - http://markinstefan.xyz/ru/tags/ http://markinstefan.xyz/ru/ - 🇩🇪 + 🇷🇺 diff --git a/public/tags/index.html b/public/tags/index.html index 94fd14a..89eaf1f 100755 --- a/public/tags/index.html +++ b/public/tags/index.html @@ -137,14 +137,14 @@ diff --git a/static/rsvp-submit.php b/static/rsvp-submit.php index 3dc58b0..b60ccf6 100755 --- a/static/rsvp-submit.php +++ b/static/rsvp-submit.php @@ -105,13 +105,23 @@ try { $mail->CharSet = 'UTF-8'; $mail->isSMTP(); - $mail->Host = $_ENV['SMTP_HOST']; - $mail->SMTPAuth = true; - $mail->Username = $_ENV['SMTP_USER']; - $mail->Password = $_ENV['SMTP_PASS']; - $mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; - $mail->Port = (int)$_ENV['SMTP_PORT']; - $mail->Timeout = 10; + +$mail->Host = gethostbyname($_ENV['SMTP_HOST']); + +$mail->SMTPAuth = true; +$mail->Username = $_ENV['SMTP_USER']; +$mail->Password = $_ENV['SMTP_PASS']; + +$mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; +$mail->Port = (int)$_ENV['SMTP_PORT']; + +$mail->Timeout = 10; + +$mail->SMTPOptions = [ + 'ssl' => [ + 'peer_name' => $_ENV['SMTP_HOST'] + ] +]; $mail->setFrom($_ENV['FROM_EMAIL'], $_ENV['FROM_NAME']); $mail->addAddress($_ENV['TO_EMAIL']);