diff --git a/lib/phpmailer/README_MOODLE.txt b/lib/phpmailer/README_MOODLE.txt
index 7763d7373e7..ec045201e47 100644
--- a/lib/phpmailer/README_MOODLE.txt
+++ b/lib/phpmailer/README_MOODLE.txt
@@ -1,13 +1,13 @@
-Description of PHPMailer 6.1.3 library import into Moodle
+Description of PHPMailer 6.2.0 library import into Moodle
We now use a vanilla version of phpmailer and do our customisations in a
subclass.
-For more information on this version of PHPMailer, check out https://github.com/PHPMailer/PHPMailer/releases/tag/v6.1.3
+For more information on this version of PHPMailer, check out https://github.com/PHPMailer/PHPMailer/releases/tag/v6.2.0
To upgrade this library:
1. Download the latest release of PHPMailer in https://github.com/PHPMailer/PHPMailer/releases.
-2. Remove everything inside lib/phpmailer/ folder except README_MOODLE.txt file (this file).
+2. Remove everything inside lib/phpmailer/ folder except README_MOODLE.txt and moodle_phpmailer.php.
3. Extract the contents of the release archive to lib/phpmailer.
4. Remove the following files that were extracted:
- composer.json
diff --git a/lib/thirdpartylibs.xml b/lib/thirdpartylibs.xml
index 768a7af3d57..9e9eb527f3d 100644
--- a/lib/thirdpartylibs.xml
+++ b/lib/thirdpartylibs.xml
@@ -102,7 +102,7 @@
phpmailer
PHPMailer
LGPL
- 6.1.3
+ 6.2.0
2.1