Geeklog jpmail plugin [v0.1.3]

by mystral-kk [geeklog@mystral-kk.net]
Jun 13, 2007

Introduction

After you installed the jpmail plugin, the charset of an email body sent by Geeklog will be changed into ISO-2022-JP(JIS). Besides, the jpmail plugin allows you to change the charset of an email you'd like to send to a given address.

INSTALL:

In the following descriptions

  1. If you are using the custom_mail() function in <geeklog>/system/custom/custom_mail.php‚â<geeklog>/system/custom/custom_mail_JIS.php, disable it first.
  2. Back up your Geeklog Database. The jpmail plugin adds tables to your Geeklog database. You can do this with the built in admin backup facility.
  3. Uncompress the jpmail plugin archive while in the <geeklog_dir>/plugins directory. The archive will create a directory called jpmail in the plugins directory.
  4. Create the admin directory. Under your <admin>/plugins/ directory create a directory called jpmail.
  5. Change to your <geeklog_dir>/plugins/jpmail/ directory. Copy the files in the admin directory to the <admin>/plugins/jpmail/ directory your created in step 3.
  6. Log in to your Geeklog as a root user and run install.php in your <admin>/plugins/jpmail/ directory. The install page will tell you if the install was successful or not. If not, examine Geeklog system errorlog for possible problems. The jpmail plugin should now be installed and functioning. Clicking on the jpmail Icon will take you to the admin page.
  7. Set up security. On install only the root users have access to jpmail administration and Viewing. You can delegate control for either of these functions through the user and group editors.
  8. Comment out lines 2921-2922 in <public_html>lib-common.php.
  9. If you are already using CUSTOM_mail() function, please comment it out.

UNINSTALL:

  1. Run the install.php page in your <admin>/plugins/jpmail directory. This will remove all the data from your database.
  2. Delete the two plugin directories created in the install process: <geeklog-dir>/plugins/jpmail/ and <admin>/plugins/jpmail/
  3. UnComment out lines 2921-2922 in <public_html>lib-common.php.

That's it.

Revision History

DateVersionDescription
Jun 13, 20070.1.3[Fix] Fixed the wrong handling of mb_detect_order(). (Thanks, Dateshi!)
[Fix] Modified the way of trimming a string in JPML_escapeHeader().(Thanks, Tsuchi!)
Mar 20, 20070.1.1[Fix] Fixed the image path in install.php. (Thanks, daioh_!j
[New] Modified to set up a default rule for Gmail on installation.
Mar 19, 20070.1The initial version