Scribe: Email subscriptions for Mango
April 10 2009 by
Adam
Have you been waiting for Email subscriptions to be available in Mango blog? Well, wait no longer!
- Plugin version:
- 1.0
- Last Updated:
- 2009-04-08
- Requires:
- Mango Blog 1.3+, CFSchedule (if sandboxed)
- Auto-install URL:
- http://fusiongrokker.com/get/Scribe
Scribe does more than just send out some emails when you make a new post:
- ColdFusion Scheduled tasks are used to make sure emails don't go out before your post is published. Emails are only sent when a new post is published or when a draft becomes published; never when updating an existing published post or when a post is reverted from published status to draft status. (Caveat: published -> draft -> published will trigger a repeat email.)
- The email messages sent to your readers are customizable with templating on the settings page.
- Optionally use a custom email address for the FROM address. Defaults to the blog-default email address.
- There is an unsubscribe link in every email — if you include it on your template; included by default.
- The subscribe pod is available for pod-enabled themes, but for users without a pod-enabled theme, a custom event ("scribe-pod") is also available.
I also already have some plans for a 1.1 release, in the near future:
- Subscription management in admin – view and edit the list of subscribers
- Optional double-opt-in (require link-click from validation email before subscription is active)
Posted in My projects | Mango |
15 comments



Thanks for creating this plug-in, Adam. It's a great, and much-needed addition to Mango Blog!
Sorry Adam - just tried subscribing to your site, and it threw an error...
Maybe a problem with rewritten URLs?
Yeah - it's sending me to /post/generic.cfm (the actual link is "generic.cfm"). Manually altering it to /generic.cfm fixed it...
You'll need to hard-code the blog root into the form target.
Seb, thanks! I'll update the SVN and the zip real quick.
Ok, fixed that bug. Thanks for the report.
Awesome Adam! Really looking forward to the 1.1 release. I hope it's sooner than later ;)
Hi Adam,
I put in a "From Email:" address and the blog email was still used.
Am I missing soemthing, or is this a bug?
Cheers.
David
Hi David,
Looks like that's a bug. I'll have it fixed in 1.1.
Adam,
Thanks so much for your work on this. I've always used cfcblog but liked the slickness of mango better. The only reason I hadn't used mango for any of my clients was the subscribers feature.
Well done.
Seems there's a problem when using Railo and MySql 4.01
Confirmation of subscriptions *always* fail. Looks like there is something funky going on with the sql statement (select 1 as row ...)
Update: Tried it on a CF8 install with MSSQL express 2008. Confirming a subscription leads to a blank page.. and a failed confirmation as well.
I'm getting the same issue with CF8 and MySQL 5:
Confirming a subscription leads to a blank page. It appears the following code is not rendering:
if (local.result){
event.data.message.setTitle("Activation Complete");
event.data.message.setData("<p>Your subscription is now active! Thank you!</p>");
When I try to activate again with the link from the email I get the failed activation page. Upon checking the DB, the email is being activated, but I'm not getting the confirmation page.
Any suggestions?
Update: I tried subscribing to this blog (fusiongrokker.com) and I'm getting the same blank page when clicking the activation link from the email. Perhaps something was accidentally changed in the last version update?
@Korey Graham Thanks for the bug report. I'll look into it shortly.
@Korey - I fixed that bug in 1.3.1 and it is included in version 1.4 released today: http://fusiongrokker.com/post/scribe-1-4