DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:mailto

This is an old revision of the document!


mailto plugin

Compatible with DokuWiki

2009-02-14b

plugin mail the current page to several people

Last updated on
2009-10-13
Provides
Syntax, Action

The missing download url means that this extension cannot be installed via the Extension Manager. Please see Publishing a Plugin on dokuwiki.org. Recommended are public repository hosts like GitHub, GitLab or Bitbucket.

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to rtmchecklist

Tagged with command, email

Download and Installation

Download and install the plugin using the Plugin Manager using the following URL. Refer to Plugins on how to install plugins manually.

Add the Button to the template

Add the button by adding the following lines to your template in main.php where you want it to appear.

<?php 	  if ($INFO['isadmin']) { ?>
<form class="button" method="get" action="<?php wl($ID)?>">
  <div class="no">
      <input type="submit" value="Send as mail" class="button" />
          <input type="hidden" name="do" value="mailto" />
              <input type="hidden" name="id" value="<?php echo $ID?>" />
                </div>
                </form>
<?php } ?>

Feel free to adjust the test for your requirements.

Add pattern to your wiki

~~MAILTO:Real Name<real.name@example.org>,Real CC1<real.cc1@example.org>,Real CC2<real.cc2@example.org>,~~

Adjust setting

Some config options are avaible and need to be adjusted via Configuration Manager

README

This plugin actually send the raw wiki and the title as mail subject.

TODO

There are still some TODOs in the code, and one of the most important is to make renderer plugin to output an email.

plugin/mailto.1255533485.txt.gz · Last modified: 2009-10-14 17:18 by 82.238.146.117