I am running the phpmailer codes and the following error message appears:
Fatal error: Class 'SMTP' not found in public_html / php / phpmailer / class.phpmailer.php on line 1291
Can anyone help me?
I am running the phpmailer codes and the following error message appears:
Fatal error: Class 'SMTP' not found in public_html / php / phpmailer / class.phpmailer.php on line 1291
Can anyone help me?
The path is wrong, look for the line with error, and delete the beginning that should be phpmailer/class.phpmailer.php
, leave only class.phpmailer.php
.
Hello,
The SMTP function is not being found in the patch of your php file:
public_html / php / phpmailer / class.phpmailer.php
I recommend that you parse line 1291 in the above file for more details about the code and possibly resolve the error, make sure your phpmailer is properly compiled.