failed to send notification email by SMTP
Moderators: Developers, Moderators
-
- Posts: 34
- Joined: Thu Oct 10, 2019 8:15 am
failed to send notification email by SMTP
Hi,
I am not able to send notification email with SMTP and I get this message.
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: mail.toromont.com
Port: 25
Authentication: false
Ping Results: Bypassed
Sending Message...
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting
can someone helps ?
Thx!
I am not able to send notification email with SMTP and I get this message.
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: mail.toromont.com
Port: 25
Authentication: false
Ping Results: Bypassed
Sending Message...
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting
can someone helps ?
Thx!
Re: failed to send notification email by SMTP
Check your firewalls and that your ISP allows SMTP traffic if its external to your network. Many are blocking SMTP from unknown sources.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
-
- Posts: 34
- Joined: Thu Oct 10, 2019 8:15 am
Re: failed to send notification email by SMTP
Thanks for your response!
this is not related to our ISP as I configured this in my enterprise network and we have SMTP server in our network. I use our SMTP server IP but it can send any emails...
this is not related to our ISP as I configured this in my enterprise network and we have SMTP server in our network. I use our SMTP server IP but it can send any emails...
Re: failed to send notification email by SMTP
Then you need to check your network configuration. Something is blocking it and it is not Cacti. Check all firewall logs, IP restrictions, and whether the web server service is allowed to make network connections (for example, SELinux can stop apache making network connections).
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
-
- Posts: 34
- Joined: Thu Oct 10, 2019 8:15 am
Re: failed to send notification email by SMTP
I try to send a message with SMTP configuration on CACTI but I get this message in clog.
2019/11/08 13:35:53 - CMDPHP WARNING Backtrace: (/settings.php[254]:email_test(), /lib/functions.php[3919]:send_mail(), /lib/functions.php[3330]:mailer(), /lib/functions.php[3672]:cacti_debug_backtrace())
can you please advise ?
2019/11/08 13:35:53 - CMDPHP WARNING Backtrace: (/settings.php[254]:email_test(), /lib/functions.php[3919]:send_mail(), /lib/functions.php[3330]:mailer(), /lib/functions.php[3672]:cacti_debug_backtrace())
can you please advise ?
-
- Posts: 34
- Joined: Thu Oct 10, 2019 8:15 am
Re: failed to send notification email by SMTP
and I use spine and I am not sure the logs came with cmd.php.
Re: failed to send notification email by SMTP
You'll need to supply the lines around that entry because that alone isn't enough.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: failed to send notification email by SMTP
Dear Team,
I need to configure the SMTP Options could you help me
Thanks
Syed
I need to configure the SMTP Options could you help me
Thanks
Syed
Re: failed to send notification email by SMTP
Console -> Configuration -> Settings -> Mail/Reporting/DNS
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
-
- Posts: 34
- Joined: Thu Oct 10, 2019 8:15 am
Re: failed to send notification email by SMTP
I know this is located here it doesn't work based on the configuration.
Please advise!
Please advise!
Re: failed to send notification email by SMTP
I'll refer mostly to my posts above and also that you check if SELinux is enabled as that can interfere, but it's a generic PHP smtp mailing issue as we utilise either that or PHPmailer library to send email.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: failed to send notification email by SMTP
any solution on this??
mzarififar wrote: ↑Fri Oct 18, 2019 10:36 pm Hi,
I am not able to send notification email with SMTP and I get this message.
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: mail.toromont.com
Port: 25
Authentication: false
Ping Results: Bypassed
Sending Message...
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting
can someone helps ?
Thx!
-
- Posts: 34
- Joined: Thu Oct 10, 2019 8:15 am
Re: failed to send notification email by SMTP
I still have an issue for this. I upgraded to the last version it dosen't work and I haven't got any help though.
-
- Posts: 34
- Joined: Thu Oct 10, 2019 8:15 am
Re: failed to send notification email by SMTP
can someone advise me how I can correct this ?
2020-06-30 14:34:13 - CMDPHP WARNING Backtrace: (/settings.php[280]:email_test(), /lib/functions.php[3974]:send_mail(), /lib/functions.php[3372]:mailer(), /lib/functions.php[3724]:cacti_debug_backtrace())
2020-06-30 14:34:13 - MAILER WARNING: Mail failed via SMTP from 'CACTI Monitoring System Notification <cacti@xxx.com>', to 'xxxx@xxxxx.com', cc '', and took 0.00 seconds, Subject 'Cacti Test Message', Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting
2020-06-30 14:34:13 - CMDPHP WARNING Backtrace: (/settings.php[280]:email_test(), /lib/functions.php[3974]:send_mail(), /lib/functions.php[3372]:mailer(), /lib/functions.php[3724]:cacti_debug_backtrace())
2020-06-30 14:34:13 - MAILER WARNING: Mail failed via SMTP from 'CACTI Monitoring System Notification <cacti@xxx.com>', to 'xxxx@xxxxx.com', cc '', and took 0.00 seconds, Subject 'Cacti Test Message', Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting
Re: failed to send notification email by SMTP
That is telling you that it could not connect to the server on the port you specified. I would start by testing whether you can do so from the command line on the cacti server.Error: SMTP connect() failed
Who is online
Users browsing this forum: No registered users and 2 guests