January 2005 Archives

CC Comment Notifications

MT can be configured to send an email notification when new comments are posted. Sometimes it is useful to CC this notification to an alternate address. You can accomplish this with a teeny hack to lib/MT/App/Comments.pm as follows:

Find the first line and insert the second line directly beneath it:

my %head = ( To => $author->email, Bcc => 'email@domain.com',

FYI, you can alternately use CC and/or multiple comma-separated email addresses.

NOTE: There are TWO instances of this code in Comments.pm. Be sure to edit them BOTH!

If you are using MT-Blacklist, you can configure this plugin to add admins and send new comment notifications to them (in addition to or instead of the entry author). (thus rendering this hack unnecessary!)

About this Archive

This page is an archive of entries from January 2005 listed from newest to oldest.

October 2004 is the previous archive.

February 2005 is the next archive.

Find recent content on the main index or look in the archives to find all content.