thold can't send email

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
jacky
Posts: 4
Joined: Wed Jan 07, 2009 9:34 pm

thold can't send email

Post by jacky »

hi,guys
I have installed the plug-in for thold,but i can't send the test mail:
error:
Checking Configuration...
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: Sendmail
Sendmail Path: /usr/sbin/sendmail

Sending Message...
ERROR: DirectInject command output: 'Recipient names must be specified ' error: ''
DirectInject command output: 'Recipient names must be specified ' error: ''
bipolarkm
Posts: 10
Joined: Wed Jan 20, 2010 4:47 am

Post by bipolarkm »

the same error...
ari
Posts: 24
Joined: Fri Jan 08, 2010 10:29 am

Post by ari »

I ran into the same issue right after installing THOLD.
The issue cleared itself when filling in a valid email in the very first text box, and a valid "from" email in one of the text boxes at the bottom.
I also removed the smtp email & passwords from the config.
bipolarkm
Posts: 10
Joined: Wed Jan 20, 2010 4:47 am

Post by bipolarkm »

I ran into the same issue right after installing THOLD.
The issue cleared itself when filling in a valid email in the very first text box, and a valid "from" email in one of the text boxes at the bottom.
I also removed the smtp email & passwords from the config.
I'm remove any text in text boxes, configure sendmail with firewall, and select SMTP Mail Service method in Mail/DNS. it work!
huybac.nguyen
Posts: 24
Joined: Mon Mar 07, 2011 2:02 am
Location: Viet Nam
Contact:

Re: thold can't send email

Post by huybac.nguyen »

Same error.
Sendmail error
PHP Mail() Function error.
SMTP: OK,

SMTP Hostname: My Mailserver's IP
SMTP Username: I use my Email's Username
This is the username to authenticate with when sending via SMTP. (Leave blank if you do not require authentication.)
SMTP Password: I use my Email's Password
This is the password to authenticate with when sending via SMTP. (Leave blank if you do not require authentication.)

--> Save --> Test

Code: Select all

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
Host: xxx.yyy.zzz.ttt
Port: 25
Authenication: true
Username: huybac.nguyen
Password: (Not Shown for Security Reasons)

Sending Message...

Success!
Mama70
Posts: 4
Joined: Tue Nov 13, 2012 1:53 pm

Re: thold can't send email

Post by Mama70 »

Here's a little help if you are trying to use cygwin's ssmtp to send mails.

ssmtp tries to emulate sendmail-command but it needs -t command-line switch to work in Cacti. Cacti does not provide recipients in command line parameters but in message header. -t makes ssmtp to search recipients from the header.

In order to get this to work, you need to set "Sendmail Path" as
c:/cygwin/usr/sbin/ssmtp.exe -t
(depending of course where you have installed your cygwin)
Don't worry about [ERROR: FILE NOT FOUND]-message.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest