Marco Luthe Online! » WordPress Stuff » Know Your Spam Queue With WP-MailAkismetStatus
Know Your Spam Queue With WP-MailAkismetStatus
December 19th, 2008 | View Comments
I just wrote a small plugin that I call “WP-MailAkismetStatus”.
Basically, it just checks the Akismet spam queue for spam comments periodically. If there is any, it sends an eMail to the blog admin with the spam comments’ contents along with the author name, the URI and the date. A link is provided at the bottom of each eMail to go directly to your Akismet spam queue on your WordPress dashboard.
On activation, the cron job is scheduled on a daily basis for the next day at 7 AM. If you want to change this time, you’ll have to look at the code. If there is spam in the queue at the time you activate the plugin, an initial status mail will be sent. No mail will be sent if there is no spam.
Let me know what you think.
BTW: The cron job will be unscheduled by deactivating the plugin.
Additionally, the plugin WP-Crontrol is a good choice to manage WP cron jobs.
Release History
[Update from 2009-02-19]
- v1.0.2:
- Added WP version check that delivers the correct Akismet link at the bottom of the notification eMail.
2009-12-15
- v1.0.1:
- Added an additional Akismet link at the end of the eMail to work with WP 2.7.
2008-12-19
- v1.0:
- Initial release.
Filed under: WordPress Stuff · Tags: akismet, cron job, email, notification, plugin, spam, wordpress
Similar Posts
Visitors to this post also read
Categories
- Around The Web (76)
- Cinema/DVD/TV (21)
- Firefox/Thunderbird (27)
- Fun Stuff (44)
- Gaming Stuff (12)
- Miscellaneous Stuff (55)
- Music Stuff (33)
- News Stuff (12)
- Personal Stuff (55)
- WordPress Stuff (126)
Archives
- July 2010 (4)
- June 2010 (4)
- May 2010 (2)
- April 2010 (1)
- March 2010 (1)
- September 2009 (1)
- July 2009 (1)
- June 2009 (2)
- May 2009 (1)
- April 2009 (1)
- March 2009 (2)
- February 2009 (2)
- January 2009 (8)
- December 2008 (10)
- November 2008 (9)
- October 2008 (9)
Recent Comments (including Ping-/Trackbacks)
- Dominic Allkins on How To Add Ping-/Trackbacks When Using Disqus
"MarcoThanks a load... I've just started the blog and have had a coup…" - Dominic Allkins on Disqus, Changed Comments And Facebook Connect
"Hi MarcoI had exactly the same problem with the API key and ended up wit…" - ba on How To Add Ping-/Trackbacks When Using Disqus
"Thanks man :)…" - Marco on How To Add Ping-/Trackbacks When Using Disqus
"Sorry, my bad. The function DisplayPingTrackbacks() actually goes into …" - tucsonvelo on How To Add Ping-/Trackbacks When Using Disqus
"So you added the first bit of code to the single.php, but where did you put the …"











