DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

tips:mail2page

mail2page

The download archive contains two PHP files which need to be placed in the inc and bin directory. The bin/mail2page.php is a commandline script which accepts a MIME encoded mail on STDIN. The first inline plain/text part will be used to create or update the page given in the subject line of the mail. Attached files will be uploaded as media files (if mime.conf allows).

The script can be tied to a fixed mail address to submit new wiki pages or images by email. Feedback is mailed back to the Reply-To or From address of the submit mail.

:!: Note: The script does not check any authentication. The only security is the secrecy of the used e-mail address!

Attachments will keep their filenames (cleaned to valid IDs) and are uploaded to the same namespace as the created page.

The script uses the MIME E-Mail message parser by Manuel Lemos.

Download: mail2page.tgz (last update at 2007-03-15)

tips/mail2page.txt · Last modified: 2017-10-29 15:45 by Aleksandr