Talk:EmailToWiki.pl

From Organic Design wiki
Revision as of 07:21, 10 June 2007 by Nad (talk | contribs) (example config file)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

EmailToWiki.pl is called from crontab and has one parameter specifying the name of a configuration file which should reside in the same directory as the script. The config file is eval'd and should set the following variables: <perl>

  1. $IP/extensions/EmailToWiki/foo.conf

$popServer = 'mail.foo.bar'; $popUser = 'foo'; $popPassword = '***'; $maxLines = 100; $wikiTemplate = 'Email'; $senders = 'foo@bar.com'; $filter = false; $deleteSent = true; $deleteFiltered = false; $logFile = 'foo.log'; </perl>