Hi,
We are getting the below error while making a test mail.
Test Email result:
Checking Configuration...
Method: SMTP
Creating Message Text...
This is a test message generated from Cacti. This message was sent to test the configuration of your Mail Settings.
Your email settings are currently set as follows
Method: SMTP
Device: smtp.gmail.com
Port: 465
Authentication: true
Username: ex@test.sa
Password: (Not Shown for Security Reasons)
Security: ssl
Ping Results: Bypassed
Sending Message...
SMTP connect() failed.
https://github.com/PHPMailer/PHPMailer/ ... leshooting
=============================
Cacti Logs
=============================
2020-10-20 16:33:47 - CMDPHP ERROR: A DB Row Failed!, Error: Table 'cacti.data_template_data_rra' doesn't exist
2020-10-20 16:33:47 - CMDPHP SQL Backtrace: (C:\Apache24\htdocs\cacti\settings.php[25]:include(), C:\Apache24\htdocs\cacti\include\auth.php[28]:require_once(), C:\Apache24\htdocs\cacti\include\global.php[504]:include_once(), C:\Apache24\htdocs\cacti\include\global_settings.php[2460]:api_plugin_hook(), C:\Apache24\htdocs\cacti\lib\plugins.php[74]:api_plugin_run_plugin_hook(), C:\Apache24\htdocs\cacti\lib\plugins.php[177]:thold_config_settings(), C:\Apache24\htdocs\cacti\plugins\thold\includes\settings.php[353]:get_reference_types(), C:\Apache24\htdocs\cacti\plugins\thold\thold_functions.php[1997]:db_fetch_assoc(), C:\Apache24\htdocs\cacti\lib\database.php[476]:db_fetch_assoc_prepared(), C:\Apache24\htdocs\cacti\lib\database.php[490]:db_execute_prepared())
2020-10-20 16:33:47 - ERROR PHP WARNING: Invalid argument supplied for foreach() in file: C:\Apache24\htdocs\cacti\plugins\thold\thold_functions.php on line: 2001
2020-10-20 16:33:47 - CMDPHP PHP ERROR WARNING Backtrace: (C:\Apache24\htdocs\cacti\settings.php[25]:include(), C:\Apache24\htdocs\cacti\include\auth.php[28]:require_once(), C:\Apache24\htdocs\cacti\include\global.php[504]:include_once(), C:\Apache24\htdocs\cacti\include\global_settings.php[2460]:api_plugin_hook(), C:\Apache24\htdocs\cacti\lib\plugins.php[74]:api_plugin_run_plugin_hook(), C:\Apache24\htdocs\cacti\lib\plugins.php[177]:thold_config_settings(), C:\Apache24\htdocs\cacti\plugins\thold\includes\settings.php[353]:get_reference_types(), C:\Apache24\htdocs\cacti\plugins\thold\thold_functions.php[2001]:CactiErrorHandler())
2020-10-20 16:33:48 - ERROR PHP WARNING: stream_select(): unable to select [11]: Resource temporarily unavailable (max_fd=1772) in file: C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\SMTP.php on line: 1169
2020-10-20 16:33:48 - CMDPHP PHP ERROR WARNING Backtrace: (C:\Apache24\htdocs\cacti\settings.php[280]:email_test(), C:\Apache24\htdocs\cacti\lib\functions.php[3967]:send_mail(), C:\Apache24\htdocs\cacti\lib\functions.php[3365]:mailer(), C:\Apache24\htdocs\cacti\lib\functions.php[3699]:PHPMailer\PHPMailer\PHPMailer->send(), C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\PHPMailer.php[1434]:PHPMailer\PHPMailer\PHPMailer->postSend(), C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\PHPMailer.php[1598]:PHPMailer\PHPMailer\PHPMailer->smtpSend(), C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\PHPMailer.php[1855]:PHPMailer\PHPMailer\PHPMailer->smtpConnect(), C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\PHPMailer.php[2006]:PHPMailer\PHPMailer\SMTP->connect(), C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\SMTP.php[396]:PHPMailer\PHPMailer\SMTP->get_lines(), C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\SMTP.php[1169]:stream_select(), CactiErrorHandler())
2020-10-20 16:33:48 - ERROR PHP WARNING: stream_select(): unable to select [11]: Resource temporarily unavailable (max_fd=1772) in file: C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\SMTP.php on line: 1169
2020-10-20 16:33:48 - CMDPHP PHP ERROR WARNING Backtrace: (C:\Apache24\htdocs\cacti\settings.php[280]:email_test(), C:\Apache24\htdocs\cacti\lib\functions.php[3967]:send_mail(), C:\Apache24\htdocs\cacti\lib\functions.php[3365]:mailer(), C:\Apache24\htdocs\cacti\lib\functions.php[3699]:PHPMailer\PHPMailer\PHPMailer->send(), C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\PHPMailer.php[1434]:PHPMailer\PHPMailer\PHPMailer->postSend(), C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\PHPMailer.php[1598]:PHPMailer\PHPMailer\PHPMailer->smtpSend(), C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\PHPMailer.php[1855]:PHPMailer\PHPMailer\PHPMailer->smtpConnect(), C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\PHPMailer.php[2013]:PHPMailer\PHPMailer\SMTP->hello(), C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\SMTP.php[759]:PHPMailer\PHPMailer\SMTP->sendHello(), C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\SMTP.php[775]:PHPMailer\PHPMailer\SMTP->sendCommand(), C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\SMTP.php[948]:PHPMailer\PHPMailer\SMTP->get_lines(), C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\SMTP.php[1169]:stream_select(), CactiErrorHandler())
2020-10-20 16:33:48 - ERROR PHP WARNING: stream_select(): unable to select [11]: Resource temporarily unavailable (max_fd=1772) in file: C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\SMTP.php on line: 1169
2020-10-20 16:33:48 - CMDPHP PHP ERROR WARNING Backtrace: (C:\Apache24\htdocs\cacti\settings.php[280]:email_test(), C:\Apache24\htdocs\cacti\lib\functions.php[3967]:send_mail(), C:\Apache24\htdocs\cacti\lib\functions.php[3365]:mailer(), C:\Apache24\htdocs\cacti\lib\functions.php[3699]:PHPMailer\PHPMailer\PHPMailer->send(), C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\PHPMailer.php[1434]:PHPMailer\PHPMailer\PHPMailer->postSend(), C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\PHPMailer.php[1598]:PHPMailer\PHPMailer\PHPMailer->smtpSend(), C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\PHPMailer.php[1855]:PHPMailer\PHPMailer\PHPMailer->smtpConnect(), C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\PHPMailer.php[2043]:PHPMailer\PHPMailer\SMTP->quit(), C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\SMTP.php[862]:PHPMailer\PHPMailer\SMTP->sendCommand(), C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\SMTP.php[948]:PHPMailer\PHPMailer\SMTP->get_lines(), C:\Apache24\htdocs\cacti\include\vendor\phpmailer\src\SMTP.php[1169]:stream_select(), CactiErrorHandler())
2020-10-20 16:33:48 - MAILER WARNING: Mail failed via SMTP from 'System <ex@test.sa>', to 'user@test.sa', cc '', and took 0.41 seconds, Subject 'Cacti Test Message', Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting
2020-10-20 16:33:48 - CMDPHP WARNING Backtrace: (C:\Apache24\htdocs\cacti\settings.php[280]:email_test(), C:\Apache24\htdocs\cacti\lib\functions.php[3967]:send_mail(), C:\Apache24\htdocs\cacti\lib\functions.php[3365]:mailer(), C:\Apache24\htdocs\cacti\lib\functions.php[3717]:cacti_debug_backtrace())
2020-10-20 16:33:48 - MAILER
========================================
BR
Mohammed
SMTP connect() failed
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 0 guests