I have smtp configured 100% correctly because the data is copied from myacc where sending emails worked without any problems.
I have this error in the Apache log:
my smtp configuration:
please help
I have this error in the Apache log:
[Thu Jan 25 07:59:44.348525 2024] [php:warn] [pid 648088] [client 37.47.210.13:27189] PHP Warning: require_once(/home/ubuntu/html/engine/function/../../PHPMailer/src/Exception.php): Failed to open stream: No such file or directory in /home/ubuntu/html/engine/function/mail.php on line 30, referer: Tibia Server (https://zanera.pl/recovery.php?mode=password)
[Thu Jan 25 07:59:44.348582 2024] [php:error] [pid 648088] [client 37.47.210.13:27189] PHP Fatal error: Uncaught Error: Failed opening required '/home/ubuntu/html/engine/function/../../PHPMailer/src/Exception.php' (include_path='.:/usr/share/php') in /home/ubuntu/html/engine/function/mail.php:30\nStack trace:\n#0 /home/ubuntu/html/recovery.php(98): Mail->sendMail()\n#1 {main}\n thrown in /home/ubuntu/html/engine/function/mail.php on line 30, referer: Tibia Server (https://zanera.pl/recovery.php?mode=password)
my smtp configuration:
$config['mailserver'] = array(
'register' => false, // Send activation mail
'accountRecovery' => true, // Recover username or password through mail
'myaccount_verify_email' => false, // Allow user to verify their email in myaccount page
'verify_email_points' => 0, // 0 = disabled. Give users points reward for verifying their email
'host' => "h26.seohost.pl", // Outgoing mail server host.
'securityType' => 'ssl', // ssl or tls
'port' => 465, // SMTP port number - likely to be 465(ssl) or 587(tls)
'email' => 'status@mail.com',
'username' => '[email protected]', // Likely the same as email
'password' => 'mypass', // The password.
'debug' => false, // Enable debugging if you have problems and are looking for errors.
'fromName' => $config['site_title'],
);
please help