I wrote an app that I use to allow BlogCFC posts via e-mail. This particular blog is an internal Adobe blog, and anyone with a valid Adobe LDAP login can post to it. (I also wrote some code that updates Ray’s login code so as to update tblUsers table with new users as needed).
BlogCFC has grown into quite a hefty app, but much of the code is actually used for rendering UI with locale support and more. The actual code needed to make a post (this is what gets called by the core of the BlogMail bot after it has validated the user and extracted the body and subject) is very simple. And in case anyone else wants it, this is all you need:
The username is needed to “login” so that the blog entry has a valid owner (BlogCFC relies on ColdFusion logins for this, and thus the
So, if you need to programmatically add entries to BlogCFC, instead of hacking the database tables (never a good idea), this code should be all you need.