One final tweak to avoid any unforeseen boundary issues with trailing white 
space and I'm off to bed. 

> I think that I've solved the posting problem. What was happening was
> that the message-id that Google was sending with a post was not being
> honored by the cfx tag I've been using to parse the email headers.
> Because my mail engine did not 'see' a message-id, it created its own.
> 
> This resulted in an email going out to the original poster with a
> different message-id than their original, giving them what they 
> posted
> and a copy.
> 
> Once I saw that the message-id was not being honored, I looked around
> for some header parsing code I wrote a while back. Not being able to
> readily find it, I just wrote a new one. The good news is that it
> seems to be working great after a few private and public tests. The
> bad news is that it took me 2 hours to build, integrate, and test. I
> should have been able to do it in less than a half hour if I just 
> knew
> where my old parsing code was.
> 
> Take this as an object lesson. Organize your code, even your code
> written for fun. One day you'll need something and you'll have no 
> idea
> where you put it. :(
> 
> And right as I'm about to send this, a thought comes into my head.
> Maybe I wrote the email header parser so far back in time that I used
> chr(13)&chr(10) rather than the cleaner \r\n. And after a fast search
> along those lines, I find not one but 3 different parser versions 
> that
> I wrote between 4 and 7 years ago. One of these day's I'm going to
> have to clean up my code.
> 
> yeh, right. :)
> 
> --
> Michael Dinowitz
> Lead Author - Adobe Coldfusion Anthology
> http://www.amazon.
com/Adobe-C> 
oldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
.
> 

.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:323899
Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-community/unsubscribe.cfm

Reply via email to