Unable to send email using PHP SMTP

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
newdawnccs
Posts: 18
Joined: Sat Feb 08, 2014 3:12 pm

Unable to send email using PHP SMTP

Post by newdawnccs »

I have tried to set up the Mail setting on the log server and everytime I test it I recieve this error

Failed to send AUTH LOGIN command. Error:
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.

Date: Mon, 11 Feb 2019 12:23:18 -0500
To: charles.steck@ourdomain.com
From: "Nagios Log Server" <nagios@ourdomain.com>
Return-Path: <nagios@ourdomain.com>
Reply-To: "Nagios Log Server" <nagios@ourdomain.com>
Subject: =?UTF-8?Q?Nagios=20Log=20Server=20Te?==?UTF-8?Q?st=20Email?=
User-Agent: Nagios Log Server
X-Sender: nagios@ourdomain.com
X-Mailer: Nagios Log Server
X-Priority: 3 (Normal)
Message-ID: <5c61af86543e4@ourdomain.com>
Mime-Version: 1.0


any help would be appreciated
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Unable to send email using PHP SMTP

Post by cdienger »

What version of NLS? What SMTP security setting is selected? Have you tried the other settings? Is the correct port defined?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
newdawnccs
Posts: 18
Joined: Sat Feb 08, 2014 3:12 pm

Re: Unable to send email using PHP SMTP

Post by newdawnccs »

I am running version 2.0.7 of NLS. I am using "NONE" as the SMTP security and port 587. I have also tried prot 25 and different variations of the smtp security. I am also using Nagiosxi and can send mail with that product using those settings......thanks
newdawnccs
Posts: 18
Joined: Sat Feb 08, 2014 3:12 pm

Re: Unable to send email using PHP SMTP

Post by newdawnccs »

finally got it to work buy saving the settings and restarting the server.....thanks
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Unable to send email using PHP SMTP

Post by cdienger »

Thanks for the update! Glad to hear you got it working!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked