mailimage2mysql/README
author Tomas Zeman <tomas@functionals.cz>
Tue, 15 Dec 2020 09:22:21 +0100
changeset 60 4267602e8494
parent 32 27a0248f5f27
permissions -rw-r--r--
fs2json: directory structure -> json object converter. E.g. to be used instead of erica / py-Couchapp (interaction with couchdb is left to the user).

Store image info (from email) to MySQL database.

Operation:

 - parses/unpacks incoming mail (on stdin)
 - all image attachments are stored in IMGFOLDER under unique name
 - image/email metadata are stored in MySQL database (table IMGTABLE)
 - adheres to qmail-command(8) interface

Licensed under BSD-style license.

Example setup:

 - put into your .qmail-images file:
   | envdir env path/to/m2m || exit 100