Email test fails
Re: Email test fails
Let's try this:
Edit /var/www/html/nagioslogserver/system/libraries/Email.php and change (around line 48):
To:
Then refresh your page and try to send the test email again and let us know the result.
If that doesn't fix it, revert back the changes.
Edit /var/www/html/nagioslogserver/system/libraries/Email.php and change (around line 48):
Code: Select all
var $newline = "\n";
var $crlf = "\n";Code: Select all
var $newline = "\r\n";
var $crlf = "\r\n";If that doesn't fix it, revert back the changes.
Re: Email test fails
FYI, I just tested sending an email from my test Nagios Log Server to my test Nagios XI box, and it worked just fine:
You must have something in the mail log on the receiving server...
You must have something in the mail log on the receiving server...
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Email test fails
Hi ssax,
Editing the $newline and $crlf in Email.php did the trick. Once I set them to \r\n email tests are now successful!
Thank you to all for taking the time to help!!! Greatly appreciated!
Editing the $newline and $crlf in Email.php did the trick. Once I set them to \r\n email tests are now successful!
Thank you to all for taking the time to help!!! Greatly appreciated!
Re: Email test fails
I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee