|
|
| Author |
Message |
liuzhe2000
Joined: 19 Mar 2008 Posts: 14
|
Posted: Sun Jul 06, 2008 1:08 am Post subject: about report plugins |
|
|
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
|
Posted: Sun Jul 06, 2008 11:37 am Post subject: |
|
|
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
|
Posted: Tue Jul 08, 2008 8:48 pm Post subject: |
|
|
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.
| Description: |
|
| Filesize: |
24.83 KB |
| Viewed: |
680 Time(s) |

|
| Description: |
|
| Filesize: |
41.97 KB |
| Viewed: |
680 Time(s) |

|
|
|
| Back to top |
|
 |
mcutting Cacti Pro User
Joined: 16 Oct 2006 Posts: 974
|
Posted: Wed Jul 09, 2008 1:26 am Post subject: |
|
|
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 |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|