DokuWiki

It's better when it's simple

User Tools

Site Tools


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

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki