Let's see...Here's what we have:<br>
<br>
of course you need<br>
<br>
include_once('cookbook/commentsmailed.php');<br><br>
and then the configuration<br>
<br>
$EnableMailPosts =
1;
# To enable
mailposts<br>
$MailPostsTo = "<a href="mailto:XXXXXXXX@mailbox.ext">XXXXXXXX@mailbox.ext</a>"; # Where to send mail<br>
$MailPostsFrom = "<a href="mailto:XXXXXXXX@mailbox.ext">XXXXXXXX@mailbox.ext</a>"; # Default Sender<br>
$MailPostsDelay =
1;
# Wait 1 sec
after initial post<br>
$MailPostsSquelch =
7200;
# Require 2+
hours between mails<br>
$MailPostsItemFmt = " *
\$FullName . . . \$PostTime by \$Author\n
\$PageUrl";<br>
<br>
A note about this recipe:<br>
We are considering reverting to the comments.php recipe because every
time a search engine's robot touches a page, it creates or increments
the .comment version of the page and the mailpost reports that a
comment has been posted.<br>
<br>
Too many false positives is no better than no info at all - we aren't
looking at the messages that come in any more. I posted a query
about this a week or two ago but received no replies - do you have any
ideas about how the recipe or our configuration could be modified to
prevent robots from "touching"?<br>
<br><div><span class="gmail_quote">On 11/26/05, <b class="gmail_sendername"><a href="mailto:brian@pongonova.net">brian@pongonova.net</a></b> <<a href="mailto:brian@pongonova.net">brian@pongonova.net</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Any ideas what vars I need to enable to get the mail part to work?<br>I've defined $MailPostsFrom and $MailPostsTo in my local/config.php
<br>file, but no mail...there's no .mailposts file in my wiki.d dir.<br><br> --Brian<br><br>_______________________________________________<br>pmwiki-users mailing list<br><a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com
</a><br><a href="http://host.pmichaud.com/mailman/listinfo/pmwiki-users">http://host.pmichaud.com/mailman/listinfo/pmwiki-users</a><br></blockquote></div><br>