PHPMailer' not found [SOLVED]

On trying to go to Reports/System Info I get the following error. I’ve just moved the site to a new server but it now uses an external domain. Could this be affected by dns settings?

Fatal error: Uncaught Error: Class 'PHPMailer\PHPMailer\PHPMailer' not found in /###/##/#######/htdocs/manager/controllers/default/system/info.class.php:47 Stack trace: #0 /###/##/#######/htdocs/core/model/modx/modmanagercontroller.class.php(155): SystemInfoManagerController->process(Array) #1 /###/##/#######/htdocs/core/model/modx/modmanagerresponse.class.php(79): modManagerController->render() #2 /###/##/#######/htdocs/core/model/modx/modmanagerrequest.class.php(187): modManagerResponse->outputContent(Array) #3 /###/##/#######/htdocs/core/model/modx/modmanagerrequest.class.php(135): modManagerRequest->prepareResponse() #4 /###/##/#######/htdocs/manager/index.php(59): modManagerRequest->handleRequest() #5 {main} thrown in /###/##/#######/htdocs/manager/controllers/default/system/info.class.php on line 47

Solved by upgrading from 2.8 to 2.8.1