Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Test email fails.. Alert Email setting

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Threshold)
Author Message
bobbers



Joined: 16 Aug 2007
Posts: 13

PostPosted: Wed Aug 22, 2007 2:51 pm    Post subject: Test email fails.. Alert Email setting Reply with quote

Good afternoon all,

I am having issues getting my test email to function properly.

Code:

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: PHP's Mailer Class

Sending Message...

Mailer Error: No TO address set!!
If using the Test Mail link, please set the Alert e-mail setting.


Cacti version: 0.8.6j
Thold version: 0.3.5.1

Researching it looks like i have the value set or is this something else?
Database: Cacti
Table: Settings
Name: alert_email
Value: my_email@address.com
Back to top
djoki



Joined: 15 Aug 2007
Posts: 26

PostPosted: Wed Aug 22, 2007 3:17 pm    Post subject: Reply with quote

You have install "settings plugin" ?
Back to top
bobbers



Joined: 16 Aug 2007
Posts: 13

PostPosted: Wed Aug 22, 2007 4:02 pm    Post subject: Reply with quote

Yup
Back to top
hgd26



Joined: 06 Oct 2006
Posts: 25

PostPosted: Wed Aug 22, 2007 4:24 pm    Post subject: Reply with quote

bobbers wrote:
Yup


add
Code:

$settings["alerts"] = array( 
//add this
                "alert_email" => array(
                        "friendly_name" => "Dead Host Notifications Email",
                        "description" => "This is the email address that the dead host notifications will be sent to.",
                        "method" => "textbox",
                        "max_length" => 255,
                        ),
//to here

in function thold_config_settings into thold/setup.php
Back to top
bobbers



Joined: 16 Aug 2007
Posts: 13

PostPosted: Thu Aug 23, 2007 6:38 am    Post subject: Reply with quote

I looked and that code is already there...
Back to top
bobbers



Joined: 16 Aug 2007
Posts: 13

PostPosted: Thu Aug 23, 2007 11:18 am    Post subject: Reply with quote

All

Thank you for all your help... I ended up resolving my problem... The issue was that i was filling out the blanks for the test email functionality but not hitting save... Was only hitting test email. Once i filled it out, saved it THEN hit send test email, all was well.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Threshold) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group