Create a diagnostic utility
Author: SynchroCreated Jan 28, 2016Updated Oct 11, 2021
LabelsFeature requestHelp wanted
So many questions on SO and issues raised in here are addressed by the troubleshooting guide, but many seem unable to heed its advice. I propose creating a utility function that tries to diagnose a PHPMailer config issue by running through all the tests suggested in the guide in an automated fashion, producing diagnostic output that will direct the user to an appropriate fix.
Source: PHPMailer/PHPMailer