now when i go to my email settings and have it send a test email, it returns
on my Contacts setup, if i have them set to "notify service my email" instead of "xi_service_notification_handler", the email do go out.....sonat east not all is lostSMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=mailServerName.com;port=25;smtpauth=true;security=none), Referer: admin/testemail.php
from another post, i followed
but it didnt helpRe: Mails don't get send - SMTP connect() failed.
Post by pbroste » Tue May 23, 2023 2:28 pm
Hello @jacek
Thanks for reaching out, let's make the following update:
Make a backup:
CODE: SELECT ALL
cp /usr/local/nagiosxi/html/includes/components/oauth2/vendor/phpmailer/phpmailer/src/PHPMailer.php /usr/local/nagiosxi/html/includes/components/oauth2/vendor/phpmailer/phpmailer/src/PHPMailer.php.bkp.5.10.0
Update by:
CODE: SELECT ALL
sed -i s/'public $SMTPAutoTLS = true'/'public $SMTPAutoTLS = false'/1 /usr/local/nagiosxi/html/includes/components/oauth2/vendor/phpmailer/phpmailer/src/PHPMailer.php
Restart the Apache service and send test email
Thanks,
Perry
it was fine BEFORE the update
any ideas?