Difference between revisions of "Talk:EmailToWiki.pl"
From Organic Design wiki
(needs some wiki settings too) |
m (Talk:EmailToWiki.pl moved to Foo talk:EmailToWiki.pl) |
(No difference)
|
Revision as of 11:11, 29 September 2007
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>
- $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';
- Set these to the same values as the same variable in the wiki
$wgServer = 'http://www.organicdesign.co.nz'; $wgScript = '/wiki/index.php'; $wgSimpleFormsContentQuery = 'content'; $wgSimpleFormsCActionQuery = 'caction'; $wgSimpleFormsSummaryQuery = 'summary'; </perl>