Page 1 of 1

Unable to send email using PHP SMTP

Posted: Mon Feb 11, 2019 12:28 pm
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: [email protected]
From: "Nagios Log Server" <[email protected]>
Return-Path: <[email protected]>
Reply-To: "Nagios Log Server" <[email protected]>
Subject: =?UTF-8?Q?Nagios=20Log=20Server=20Te?==?UTF-8?Q?st=20Email?=
User-Agent: Nagios Log Server
X-Sender: [email protected]
X-Mailer: Nagios Log Server
X-Priority: 3 (Normal)
Message-ID: <[email protected]>
Mime-Version: 1.0


any help would be appreciated

Re: Unable to send email using PHP SMTP

Posted: Mon Feb 11, 2019 2:21 pm
by cdienger
What version of NLS? What SMTP security setting is selected? Have you tried the other settings? Is the correct port defined?

Re: Unable to send email using PHP SMTP

Posted: Mon Feb 18, 2019 12:43 pm
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

Re: Unable to send email using PHP SMTP

Posted: Mon Feb 18, 2019 1:05 pm
by newdawnccs
finally got it to work buy saving the settings and restarting the server.....thanks

Re: Unable to send email using PHP SMTP

Posted: Mon Feb 18, 2019 2:03 pm
by cdienger
Thanks for the update! Glad to hear you got it working!