The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Mail2Wiki - read mail and send to wiki

VERSION

version 0.014

SYNOPSIS

Configure

  # config.ini in current dir
  [mail]
  server = mail.alibaba-inc.com
  port   = 993
  user   = mycount
  pass   = hello1234

  # Wiki settings
  [wiki]
  type   = MindTouch
  domain = x.wf.taobao.org
  user   = wikicount
  pass   = hello1234
  prefix = PE/mail
  ;prefix = User

  # create data directory mail2wiki used
  mkdir data

Run

  mail2wiki.pl

Attributes

config_file

configure file, default ./config

config

configure, parsed, an Config::Tiny object, readonly

mail_client

mail client to dump new mail, a Mail2Wiki::MailClient object, readonly

wiki

the wiki object to post content to wiki, an abstract object, must suplly an instant class use configure : wiki_type=foo, readonly

method

publish

publish, which means dump the mail and post to wiki, accomplish all work

AUTHOR

ChinaXing(陈云星) <chen.yack@gmail.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by ChinaXing(陈云星).

This is free software, licensed under:

  The (three-clause) BSD License