Entries for month: August 2009

ColdFusion Bug # 79585 - Mail Server Hard Coding in CFMAIL - Vote!

Adobe , ColdFusion No Comments »

Here is what I entered for the details of the bug.

"When there is an error sending mail through a server, through large batch for example, the mail ends up in the Undelivr folder. This is expected behavior. However, the individual CFMail files in that folder, have the SMTP server explicitly hard coded. If that mail server changes for example, what is required is to go through all of these files manually and change that value. What is more curious, is that if that line is deleted all together, CF uses the default mail server in CFAdmin. So why hard code at all, unless the cfmail tag explicitly specified a mail server to use. If it didn't, that line shouldn't be there in case of a SMTP error. See: http://www.bytestopshere.com/post.cfm/help-funky-cf-mail-issue-mailserver and related forum entry for details. Major issue. No need for hard coding unless CFMail is explicit!"

Vote here:

http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=79585

Microsoft sucks at Photoshop

Default 3 Comments »

Take a look at this Engadget post. See anything weird.

http://www.engadget.com/2009/08/25/microsoft-sucks-at-photoshop/

Need a hint: Look at the guy in the middle. The head is messed up and so is the hand!

Reading Text Files Through Line Number - A Solution

ColdFusion 6 Comments »

As you guys may know, on one of my production boxes, I've been having CFMail issues. Details here.

Here is an image of the problem:

 CFMAIL Before

As well, I looked parsing the necessary cfmail files to get rid of defective line. But looking at ColdFusion and Java (and even .NET), nothing stood out.

So that was it! I needed a solid CFC to work with text files on a line by line basis. Enter FileByLine.CFC.

Here is some code!

And now the image shows:

CFMail After

Voila! Have fun. Comments welcome!

I'll add this code to RiaForge shortly!

UPDATE: Code now on RiaForge, see http://filebyline.riaforge.org/.

Hiring Woes!

Human Resources 8 Comments »

As I've been trying to hire for several different ColdFusion positions over the past few months, I've come across a lot of interesting folks and I've made a ton of interesting observations. While I won't name names, I would say that there are definitely some people I would never work with. Like Sean Corfield, who maintains a list of people whom he would never hire, I've started my own list.

More stories and observations to come!

Help! Reading Text Files Through Line Number

Adobe , ColdFusion 17 Comments »

As I deal with the mail server issue (see previous post), I was thinking how to automate some of the find and replace I am doing.

I know that CF8 has many new functions and memory enhancements when dealing with files, but I was wondering if anyone has a UDF or CFC dealing with the following use case.

1. Open target text file

2. Replace text on line number X

3. Save target text file

Sound simple, right? But I have not found any code in ColdFusion, where you can explicitly target a line number inside a text file for some action. Has anyone seen this, or something similar in JAVA which could be turned into a UDF or CFC?

 

Powered by Mango Blog. Design and Icons by N.Design Studio
RSS Feeds
daylight