Sam Daams
Member since Dec 11, 2008
- Profile: /members/2330-sam-daams.htm
- URL: http://twitter.com/samdaams
- Comments: 10
Recent Blog Comments By Sam Daams
-
Using ColdFusion Structures To Remove Duplicate List Values
Posted on Jan 8, 2014 at 4:08 AM
For those who end up here using Google and scroll all the way down, if you are using CF10, you can now use listRemoveDuplicates() to get a list without duplicates.... read more »
-
Converting Between String And Binary Values In ColdFusion
Posted on Jan 7, 2014 at 3:49 AM
Today I had a case where toString worked and charsetEncode didn't which I thought I'd share here as this thread popped up when researching :) Locally I didn't need either of these, but the MySQL version on the live server is a few notches behind my testing server, and for some reason I was getting ... read more »
-
Getting Header Values From A ColdFusion Request
Posted on Dec 19, 2013 at 5:51 PM
Great post, once again, Ben. I was doing some CORS work and Google led me to this post to dig up the right combo for figuring out the referring origin, ie. GetHttpRequestData().Headers.origin. I then check that against an approved list of origins, and if it matches, return that back so the other sit... read more »
-
Sending Mail And Monitoring Bounce Backs With ColdFusion And Postmark
Posted on Apr 20, 2010 at 2:33 AM
It's a combination, ie. subject is partly used to deduce bouncetype, as are specific codes that are included in the body that is returned. So far we've been able to always retrieve the fields we're after, although the originalTo can be a little messed up at times (wrong original address, or there is... read more »
-
Sending Mail And Monitoring Bounce Backs With ColdFusion And Postmark
Posted on Apr 16, 2010 at 2:42 AM
@Ben basically it processes the bounces and splits out the originalTo, currentFrom, currentTo (this one is usually overkill), bouncetype, subject, body and UID. The scheduled task takes a first stab at the emails, unsubscribing all that have a bouncetype 'hard'. Anything other than hard gets saved... read more »
-
Sending Mail And Monitoring Bounce Backs With ColdFusion And Postmark
Posted on Apr 14, 2010 at 12:17 PM
You'd probably also like the emailParse CFC by Tom Mollerus: http://www.mollerus.net/tom/projects/emailParseCFC/ We've got this (in somewhat modified form) running as a scheduled task to deal with bounces from our newsletter send outs. Saving soft bounces for later processing, and unsubscribing a... read more »
-
Ask Ben: Extracting Data With Regular Expressions vs. ColdFusion List Functions
Posted on Dec 5, 2009 at 5:59 AM
Hope you don't mind me digging up this thread again Ben!? Some googling brought up this thread when trying to find a solution to my predicament. I'm basically wondering if it is at all possible to do this if the original string has just a single hashtag in it, (like the original question here)? I'... read more »
-
Generic Form Processing / Emailing In ColdFusion
Posted on Feb 1, 2008 at 2:04 PM
I'm looking to actually include a type ahead, so where you type 'mi' and it brings up 'mike'. Hit enter or the comma and start typing another and so on and so on. But if I can't figure it out, I'll probably end up going with a check box or something similar :)... read more »
-
Generic Form Processing / Emailing In ColdFusion
Posted on Feb 1, 2008 at 10:02 AM
I'm actually working on something semi related right now where I'm looking to insert contacts into a TO: field from a list of pre-defined contacts, kind of like in Mac Mail/gmail etc. You don't happen to have any tips on how to do this the slickest do you? I know it's going to get messy with a bucke... read more »
-
ColdFusion CFQueryParam List Attribute Is Sweeet!
Posted on Jan 29, 2008 at 7:59 PM
Another great tip Ben! I ended up here after a google search too. Those darn brackets were missing; knew it was something simple :)... read more »