Skip to content

jFMd21/dokuwiki-groupmail

 
 

Repository files navigation

Group email plugin

In the search for a contact form for Dokuwiki I only found that of By Marvin
Thomas Rabe (https://github.com/marvinrabe/dokuwiki-contact) which I started
using. However, I wanted to use it to send out email to a group of people which
is not quite supported. I therefore started extending it, and changing the
usage somewhat. Thus I could not contribute my changes to the existing pluging
since an update would render existing wiki pages unusable.

Features

Extended from moderncontact by Thomas Rabe but:

  • support emailing to emails
  • support emailing to dokuwiki group members
  • archiving sent emails
  • support force sending with registered identity
  • support presetting text for email message

If you have some more ideas, feel free to contact me.

Languages

Following languages are available:

  • English
  • French (partially)
  • German
  • Polish (by Alex Setlak)
  • Portuguese (partially)
  • Russian (partially)
  • Spanish (by Cristian Wente)

Requirements

To use this Plugin you need the following system:

  • PHP >= 5.1.2
  • Dokuwiki >= 2009-02-14b
  • reCaptcha keys (optional)

You can receive the needed reCaptcha keys on http://www.google.com/recaptcha.

Usage

The integration is the same as in the plugin by Baddeley. Simply use this code:

{{groupmail>}}

This will create a groupmail form with a “name”,“email address”, “subject” and “comment” field. It will send an email to whatever the default value is. If you enabled the captcha by default, than it will also show the well known reCaptcha input fields.

You can also specify several parameters. If you only need one parameter you simply use:

{{groupmail>subject=Feedback from Site}}

or join multiple of them with a | character:

{{groupmail>[email protected]|subject=Feedback from Site}}

or email to dokuwiki users (via dokuwiki login names)

{{groupmail>touser=dokuwikiuser}}

or email to dokuwiki group members (via dokuwiki group names

{{groupmail>togroup=dokuwikigroup}}

Don’t allow to override the sender name or email, but use registered user

{{groupmail>autofrom}}

Preset a text in the email content:

{{groupmail>content=Feedback for the wiki:}}

Define a log dokuwiki file where all emails are logged to for later reference.

{{groupmail>sendlog=:path:to:log:file}}

Available parameters

subject=… If the subject is specified in the parameters then it is not a field on the email form.
autofrom If specified, the sender fields are not shown in the email form.
toemail=… a (list of) email address(es) to sent email to.
touser=… a (list of) dokuwiki user account names to send email to.
togroup=… a (list of) dokuwiki group names to send email to.
content=… Text that should be prefilled in the email body.
sendlog=… Define a dokuwiki file where all emails are prepended to.
captcha If set to true, the captcha will be enabled. Set it on false to disable it. You must activate the captcha by default in order to change its status with this parameter.

About

Dokuwiki plugin for managing a simple mailing list

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.0%
  • CSS 1.0%