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: ''
thold can't send email
Moderators: Developers, Moderators
I'm remove any text in text boxes, configure sendmail with firewall, and select SMTP Mail Service method in Mail/DNS. it work!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.
-
- Posts: 24
- Joined: Mon Mar 07, 2011 2:02 am
- Location: Viet Nam
- Contact:
Re: thold can't send email
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
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!
Re: thold can't send email
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.
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.
Who is online
Users browsing this forum: No registered users and 0 guests