From d13d6006a49c5759d06fff3c32319b7cc86042ac Mon Sep 17 00:00:00 2001 From: Puneet Gopinath <76863199+PuneetGopinath@users.noreply.github.com> Date: Wed, 17 Mar 2021 14:08:27 +0530 Subject: [PATCH] Fix links (#2285) --- README.md | 2 +- examples/DKIM_gen_keys.phps | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 45da2ec3..ec12e6e3 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ PHPMailer defaults to English, but in the [language](https://github.com/PHPMaile $mail->setLanguage('fr', '/optional/path/to/language/directory/'); ``` -We welcome corrections and new languages – if you're looking for corrections to do, run the [PHPMailerLangTest.php](https://github.com/PHPMailer/PHPMailer/tree/master/test/PHPMailerLangTest.php) script in the tests folder and it will show any missing translations. +We welcome corrections and new languages – if you're looking for corrections, run the [PHPMailerLangTest.php](https://github.com/PHPMailer/PHPMailer/tree/master/test/PHPMailerLangTest.php) script in the tests folder and it will show any missing translations. ## Documentation Start reading at the [GitHub wiki](https://github.com/PHPMailer/PHPMailer/wiki). If you're having trouble, head for [the troubleshooting guide](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting) as it's frequently updated. diff --git a/examples/DKIM_gen_keys.phps b/examples/DKIM_gen_keys.phps index 5e4aeca6..802c7442 100644 --- a/examples/DKIM_gen_keys.phps +++ b/examples/DKIM_gen_keys.phps @@ -5,15 +5,15 @@ * You should only need to do this once, and the public key (**not** the private key!) * you generate should be inserted in your DNS matching the selector you want. * - * You can also use the DKIM wizard here: https://www.port25.com/support/domainkeysdkim-wizard/ + * You can also use the DKIM wizard here: https://www.sparkpost.com/resources/tools/dkim-wizard/ * but be aware that having your private key known anywhere outside your own server * is a security risk, and it's easy enough to create your own on your own server. * * For security, any keys you create should not be accessible via your web site. * * 2048 bits is the recommended minimum key length - gmail won't accept less than 1024 bits. - * To test your DKIM config, use Port25's DKIM tester: - * https://www.port25.com/support/authentication-center/email-verification/ + * To test your DKIM config, use Sparkpost's DKIM tester: + * https://tools.sparkpost.com/dkim * * Note that you only need a *private* key to *send* a DKIM-signed message, * but receivers need your *public* key in order to verify it. @@ -55,11 +55,11 @@ if (file_exists($privatekeyfile)) { echo "Private key (keep this private!):\n\n" . $privatekey; echo "\n\nPublic key:\n\n" . $publickey; -//Prep public key for DNS, e.g. +//Prepare public key for DNS, e.g. //phpmailer._domainkey.example.com IN TXT "v=DKIM1; h=sha256; t=s; p=" "MIIBIjANBg...oXlwIDAQAB"... $dnskey = "$selector._domainkey.$domain IN TXT"; $dnsvalue = '"v=DKIM1; h=sha256; t=s; p=" '; -//Some DNS server don't like ; chars unless backslash-escaped +//Some DNS servers don't like ;(semi colon) chars unless backslash-escaped $dnsvalue2 = '"v=DKIM1\; h=sha256\; t=s\; p=" '; //Strip and split the key into smaller parts and format for DNS