RE: [ACFUG Discuss] error trap emails -- html format for gmail?
Thanks for the kind regards, Steve. It's just always been my thing to have a memory for such details, not just with CF but in my prior IT career (82-97). It's of course what helps fuel my articles, presos, and answers on lists/forums. I like giving back when I can, because I have learned so much from others. And now I leverage that recall as well in my troubleshooting consulting, which I love doing. As for the capacity to remember stuff, for those curious, it seems really to go back to childhood. Some will remember the Encyclopedia Brown book series. Well, kids used to make fun of me referring to that, but I regarded it more as a compliment. :-) /charlie PS As a fellow Christian, Steve, you (and many others on this list) will appreciate that I realize and indeed hope that God would use such a gift as he's given me for His glory, whether it's by my being able to have the same recall of key parts of the bible, or theology, history, and so on, and whether for teaching fellow believers, for apologetics, and so on. I hope those antagonistic toward faith will just let this pass. I'm not forcing my beliefs on you here in this little PS. :-) From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Steve Ross Sent: Friday, March 25, 2011 8:46 AM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] error trap emails -- html format for gmail? Thanks charlie, I'll update that on my side... how you remember all this stuff I'll never know. ;) On Thu, Mar 24, 2011 at 11:59 PM, Charlie Arehart char...@carehart.org wrote: Hey Steve, if you were on CF8 or above, the easiest solution would be the new FORMAT=text attribute for CFDUMP. (And I share this for others who may have the same problem and ARE on 8 or above and didn't notice this little hidden gem, one of a few changes for CFDUMP since then.) But since you're on 7, here's another fairly simple idea: just do a CFLOOP over the cferror/cfcatch struct and do a cfoutput of each key (at least those that are simple values, which you can test with issimplevalue). You could try to recurse through arrays and dumps and dump their simple values. There are also various UDFs written in the CFLIB site that seem to do the same thing, such as: http://www.cflib.org/udf/dumpVarList. Just do a search there for dump, and you may find one that does just what you want. Hope that helps. /charlie - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] error trap emails -- html format for gmail?
Steve, You kind of showed us the result and the error message, but not how you are creating the HTML inside of the CFMAIL. Perhaps, you need to capture the end result of the email generation before you send the email and verify that proper HTML is being generated. Also, cfmail is very sensitive to white space. Teddy R. Payne, ACCFD Google Talk - teddyrpa...@gmail.com On Thu, Mar 24, 2011 at 10:53 AM, Steven steve...@gmail.com wrote: Hey all, We do some error trapping via email for one of our apps, and the formatting doesn't come over quite right for gmail. We're just dumping out the error struct in a cfmail of type html. Anyone run into this and have a workround for gmail? Something in the html output isn't quite right for gmail. I know it's a picky, pet-peevy thing.. :P but I haven't had enough coffee yet this morn, and this silly formatting issue is bothering me. See screenshot of what I'm talking about at: http://blueboltservers.com/error_trapping.jpg (biz gmail on left, owa on right) Thx. -Steve - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
RE: [ACFUG Discuss] error trap emails -- html format for gmail?
It looks to me like gmail doesn't like the styling. Maybe instead of just a straight cfdump you could use the cferror or cfcatch structure in a styled output table or div of your own. That's the only thing that readily comes to mind. Troy Jones [cid:image001.jpg@01CBEA13.C7926750] ___ Troy Jones | Director of Technical Services | Dynapp Inc | 1-800-830-5192 ext. 603 | dynapp.comhttp://www.dynapp.com/ | facebook.com/dynapphttp://www.facebook.com/dynapp From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Steven Sent: Thursday, March 24, 2011 10:54 AM To: discussion@acfug.org Subject: [ACFUG Discuss] error trap emails -- html format for gmail? Hey all, We do some error trapping via email for one of our apps, and the formatting doesn't come over quite right for gmail. We're just dumping out the error struct in a cfmail of type html. Anyone run into this and have a workround for gmail? Something in the html output isn't quite right for gmail. I know it's a picky, pet-peevy thing.. :P but I haven't had enough coffee yet this morn, and this silly formatting issue is bothering me. See screenshot of what I'm talking about at: http://blueboltservers.com/error_trapping.jpg (biz gmail on left, owa on right) Thx. -Steve No virus found in this message. Checked by AVG - www.avg.comhttp://www.avg.com Version: 10.0.1204 / Virus Database: 1498/3526 - Release Date: 03/24/11 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - inline: image001.jpg
Re: [ACFUG Discuss] error trap emails -- html format for gmail?
Steven, You need to add type=HTML to your cfmail tag. --Ken On Mar 24, 2011 9:54 AM, Steven steve...@gmail.com wrote: Hey all, We do some error trapping via email for one of our apps, and the formatting doesn't come over quite right for gmail. We're just dumping out the error struct in a cfmail of type html. Anyone run into this and have a workround for gmail? Something in the html output isn't quite right for gmail. I know it's a picky, pet-peevy thing.. :P but I haven't had enough coffee yet this morn, and this silly formatting issue is bothering me. See screenshot of what I'm talking about at: http://blueboltservers.com/error_trapping.jpg (biz gmail on left, owa on right) Thx. -Steve
Re: [ACFUG Discuss] error trap emails -- html format for gmail?
I am doing the same thing and the dump gets screwed up in gmail because of how they process mail. The solution I came up with was to write the dump in a log file on the machine so then I can just go into that directory and double click on the email.html file. Kind of a kludge but, it works. the other solution would be to attach the contents as html as well... ie: http://www.bennadel.com/blog/1649-Attaching-ColdFusion-Error-Reports-To-Avoid-GMail-Spam.htm On Thu, Mar 24, 2011 at 11:12 AM, Ken Auenson, II ken.auen...@gmail.comwrote: Steven, You need to add type=HTML to your cfmail tag. --Ken On Mar 24, 2011 9:54 AM, Steven steve...@gmail.com wrote: Hey all, We do some error trapping via email for one of our apps, and the formatting doesn't come over quite right for gmail. We're just dumping out the error struct in a cfmail of type html. Anyone run into this and have a workround for gmail? Something in the html output isn't quite right for gmail. I know it's a picky, pet-peevy thing.. :P but I haven't had enough coffee yet this morn, and this silly formatting issue is bothering me. See screenshot of what I'm talking about at: http://blueboltservers.com/error_trapping.jpg (biz gmail on left, owa on right) Thx. -Steve -- Steve Ross web application interface developer http://blog.stevensross.com [mobile] (912) 344-8113 [ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ]
Re: [ACFUG Discuss] error trap emails -- html format for gmail?
Thx all.. for the feedback. HTML attrib on cfmail is in use.. google just doesn't like what cfdump is doing. To SR.. yeah, I'm doing the fixed log file route as well. Thinking about just attaching it.. but kinda messy and don't want the extra file maint. And I did read Nadel's article -- but on this server I'm stuck with cfmx7 and no content attrib in cfmailparam :P. Ah well, done with this rabbit trail. Back to coffee and the day's work ;) Hope everyone is having a decent Thurs. TGIT. -Steve On Thu, Mar 24, 2011 at 11:55 AM, Steve Ross nowhid...@gmail.com wrote: I am doing the same thing and the dump gets screwed up in gmail because of how they process mail. The solution I came up with was to write the dump in a log file on the machine so then I can just go into that directory and double click on the email.html file. Kind of a kludge but, it works. the other solution would be to attach the contents as html as well... ie: http://www.bennadel.com/blog/1649-Attaching-ColdFusion-Error-Reports-To-Avoid-GMail-Spam.htm On Thu, Mar 24, 2011 at 11:12 AM, Ken Auenson, II ken.auen...@gmail.comwrote: Steven, You need to add type=HTML to your cfmail tag. --Ken On Mar 24, 2011 9:54 AM, Steven steve...@gmail.com wrote: Hey all, We do some error trapping via email for one of our apps, and the formatting doesn't come over quite right for gmail. We're just dumping out the error struct in a cfmail of type html. Anyone run into this and have a workround for gmail? Something in the html output isn't quite right for gmail. I know it's a picky, pet-peevy thing.. :P but I haven't had enough coffee yet this morn, and this silly formatting issue is bothering me. See screenshot of what I'm talking about at: http://blueboltservers.com/error_trapping.jpg (biz gmail on left, owa on right) Thx. -Steve -- Steve Ross web application interface developer http://blog.stevensross.com [mobile] (912) 344-8113 [ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ]
RE: [ACFUG Discuss] error trap emails -- html format for gmail?
Hey Steve, if you were on CF8 or above, the easiest solution would be the new FORMAT=text attribute for CFDUMP. (And I share this for others who may have the same problem and ARE on 8 or above and didn't notice this little hidden gem, one of a few changes for CFDUMP since then.) But since you're on 7, here's another fairly simple idea: just do a CFLOOP over the cferror/cfcatch struct and do a cfoutput of each key (at least those that are simple values, which you can test with issimplevalue). You could try to recurse through arrays and dumps and dump their simple values. There are also various UDFs written in the CFLIB site that seem to do the same thing, such as: http://www.cflib.org/udf/dumpVarList. Just do a search there for dump, and you may find one that does just what you want. Hope that helps. /charlie From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Steven Sent: Thursday, March 24, 2011 12:43 PM To: discussion@acfug.org Cc: Steve Ross Subject: Re: [ACFUG Discuss] error trap emails -- html format for gmail? Thx all.. for the feedback. HTML attrib on cfmail is in use.. google just doesn't like what cfdump is doing. To SR.. yeah, I'm doing the fixed log file route as well. Thinking about just attaching it.. but kinda messy and don't want the extra file maint. And I did read Nadel's article -- but on this server I'm stuck with cfmx7 and no content attrib in cfmailparam :P. Ah well, done with this rabbit trail. Back to coffee and the day's work ;) Hope everyone is having a decent Thurs. TGIT. -Steve On Thu, Mar 24, 2011 at 11:55 AM, Steve Ross nowhid...@gmail.com wrote: I am doing the same thing and the dump gets screwed up in gmail because of how they process mail. The solution I came up with was to write the dump in a log file on the machine so then I can just go into that directory and double click on the email.html file. Kind of a kludge but, it works. the other solution would be to attach the contents as html as well... ie: http://www.bennadel.com/blog/1649-Attaching-ColdFusion-Error-Reports-To-Avoi d-GMail-Spam.htm On Thu, Mar 24, 2011 at 11:12 AM, Ken Auenson, II ken.auen...@gmail.com wrote: Steven, You need to add type=HTML to your cfmail tag. --Ken On Mar 24, 2011 9:54 AM, Steven steve...@gmail.com wrote: Hey all, We do some error trapping via email for one of our apps, and the formatting doesn't come over quite right for gmail. We're just dumping out the error struct in a cfmail of type html. Anyone run into this and have a workround for gmail? Something in the html output isn't quite right for gmail. I know it's a picky, pet-peevy thing.. :P but I haven't had enough coffee yet this morn, and this silly formatting issue is bothering me. See screenshot of what I'm talking about at: http://blueboltservers.com/error_trapping.jpg (biz gmail on left, owa on right) Thx. -Steve -- Steve Ross web application interface developer http://blog.stevensross.com [mobile] (912) 344-8113 tel:%28912%29%20344-8113 [ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ] - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -