[pmwiki-users] Notify on windows
Sameer Kumar
skumar at eharch.com
Sat Dec 15 00:42:08 CST 2007
<snip>
PmWiki uses the PHP mail function which in turn needs to use an SMTP
server to send mail. You may need to add the following to your config
file:
## set the PHP mail server variable
ini_set('SMTP','192.168.x.xxx');
... but put in the IP address of your mail server.
If your Exchange server requires SMTP AUTH, you probably need to do more
- but it is beyond the scope of my knowledge.
Thank you, Neil. I have set these values directly in the php.ini file. I
have actually checked that the mail() function works. I have recd emails
sent by the function.
To check if Notify works, set the following config file variables to
small values, make some changes, and wait for the mail.
$NotifySquelch = 3600; # require 60+ minutes between mails
$NotifyDelay = 300; # send mail 5+ min after first post
Don't forget to set them back to reasonable values after testing.
I have created the SiteAdmin.NotifyList page with
"notify=myemail at mydomain.com" with my email address.
I have followed your suggestion and set these values for Squelch and
Delay at even lower levels, as follows:
# Enable notification
$Enablenotify = 1;
$NotifySquelch = 360; # require 6+ minutes between mails
$NotifyDelay = 60; # send mail 1+ min after first post
But I have not recd any notification from Pmwiki as yet. Do I HAVE to
set the SMTP etc values in Pmwiki Config file also?
Any suggestions??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20071215/820be202/attachment.html
More information about the pmwiki-users
mailing list