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    


about report plugins

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General
Author Message
liuzhe2000



Joined: 19 Mar 2008
Posts: 14

PostPosted: Sun Jul 06, 2008 1:08 am    Post subject: about report plugins Reply with quote

hi everybody
i have setup the report plugins,but it can't send me email
in my threshld, i tried send a test email with SMTP, and it is successful.
in my report v0.3, the graph is a ".png" document, the preview is normal, and after i click the "send now", there isn't an error prompt,it seem as if it is normal.
the cacti log prompt "Reports: Poller[0] Email could not be sent - 'Language string failed to load: instantiate' "
why is it?
Do i need configure some ?
thanks !!!
Back to top
mcutting
Cacti Pro User


Joined: 16 Oct 2006
Posts: 974

PostPosted: Sun Jul 06, 2008 11:37 am    Post subject: Reply with quote

Check your php.ini file, and ensure that the following settings are filled in:

[mail function]
; For Win32 only.
SMTP = your.ip.address.here

; For Win32 only.
sendmail_from = you@yourdomain

Save php.ini, restart IIS / Apache, and then try again...
Back to top
liuzhe2000



Joined: 19 Mar 2008
Posts: 14

PostPosted: Tue Jul 08, 2008 8:48 pm    Post subject: Reply with quote

thank you very much!

this is my php.ini :

[mail function]
; For Win32 only.
SMTP = xxx.xxx.xxx.xxx

; For Win32 only.
sendmail_from = xxxxxx@hotmail.com

is it right?

but it still can't send me email ,and in my setting i configure "php mail() fuction" , then when i click the "Send a Test Email", it prompt "ERROR: Unable to send email with php mail function, check your system logs "

why is it ?

it seem as if the php mail fuction is invalid

how shoud i configure it ?

help me
thanks.



a.JPG
 Description:
 Filesize:  24.83 KB
 Viewed:  682 Time(s)

a.JPG



aa.JPG
 Description:
 Filesize:  41.97 KB
 Viewed:  682 Time(s)

aa.JPG


Back to top
mcutting
Cacti Pro User


Joined: 16 Oct 2006
Posts: 974

PostPosted: Wed Jul 09, 2008 1:26 am    Post subject: Reply with quote

The settings look ok, however, whatever you defined in the IP Address should accept relay requests. If you are using Exchange, you'll need to tell the Virtual SMTP Server that your Cacti server can relay mail through it.

As php.ini looks good, this is likely to be the reason why. If you don't use an Exchange server, then I would investigate the mail sending method. Tthis is going to be a relay denied problem generated by whatever the IP Address is that you have specified.

Also, did you restart apache or IIS ?

Lastly, if you are using the reports plugin, then the mail format only works with the PHP Mailer class.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group