public
Description: my mephisto comment email plugin, notification when a comment is posted
Homepage: http://hasno.info
Clone URL: git://github.com/segfault/mephisto_comment_email.git
name age message
file README Sun Nov 26 19:42:33 -0800 2006 updated the readme to match the current specs [segfault]
file init.rb Sun Jun 29 22:06:22 -0700 2008 made the debug/testing code simpler to enable a... [segfault]
directory lib/ Mon Jun 30 07:34:59 -0700 2008 fixing a typo w/ a debug flag check [segfault]
directory views/ Sun Jun 29 22:16:21 -0700 2008 added author_ip to the email. [segfault]
README
comment email notification for Mephisto
==================================================

When someone posts a comment, an email will be sent to the article author.


Install
==========
   ruby script/install svn://hasno.info/mephisto/plugins/mephisto_comment_email

   There are a few options availible:
     * mail prefix - Will be prepended to the email subject: 
        (blog) segfault posted a comment on "my best blog post"
        To change the "(blog)" portion, add the following to
        the end of environment.rb:
          CommentNotifier.mail_prefix = "(myblogname)"
     
     * mail_from_name - The "full-name" for the sender:
        If you'd like to change it, append the following to environment.rb:
          CommentNotifier.mail_from_name = "My Blog"

     * mail_from - If you'd like mail to come from some address other than
        the site-owner's address add the following in the usual place:
          CommentNotifier.mail_from = "segyblog@hasno.dot.info"

     * only_approved - If you'd only like to receive email regarding approved
        comments add the following to environment.rb:
          CommentNotifier.only_approved = true

   If you would like to see links to the article and the article's admin page
   in the email sent to the author, then make sure to set an akismet_url in
   the site's settings.


Usage
==========
   setup the basic actionmailer parameters, and post a comment...


(C) Mark Guzman 2006, under an MIT license.