Re: ACF10 mail and Windows Server 2012

2015-04-07 Thread John M Bliss
No. Interestingly, it appears that some carriage returns / line feeds remain. The ones that got stripped out are ones inside of: #loop.output# ...where that carriage return / line feed between #loop.output# and is not coming through and all elements of the loop are output on one line. This w

Re: ACF10 mail and Windows Server 2012

2015-04-07 Thread Dean Lawrence
Have you looked at the raw source of the email to make sure that CF is not placing the text in an html mailpart? On Tue, Apr 7, 2015 at 1:21 PM John M Bliss wrote: > > Yes. The code didn't change. Just moved from 32 bit Windows Server 2003 > to 64 bit Windows Server 2012 and 32 bit ACF10 to 64

Re: ACF10 mail and Windows Server 2012

2015-04-07 Thread John M Bliss
Yes. The code didn't change. Just moved from 32 bit Windows Server 2003 to 64 bit Windows Server 2012 and 32 bit ACF10 to 64 bit ACF10. On Tue, Apr 7, 2015 at 10:49 AM, Russ Michaels wrote: > > are you sure you do not have the emails set to send as HTML ? > > > On Tue, Apr 7, 2015 at 1:19 PM, J

RE: Ajax Post Value on CF Side

2015-04-07 Thread Robert Harrison
Solved. The problem was I was overcomplicating this and treating it like JSON just like everyone else has been advising. With an AJAX post, the string: Object {name: "rid", value: "1"} Appears to Coldfusion as form values. The values #form.name# and #form.value# give me "rid" and "1".

Re: Ajax Post Value on CF Side

2015-04-07 Thread Dean Lawrence
Once you convert it into a CF structure using deserializeJSON, you can then use cfdump to see how CF interprets it. On Tue, Apr 7, 2015 at 12:31 PM Robert Harrison wrote: > > Let me make this simpler. The value being send via an ajax post is: > > Object {name: "rid", value: "1"} > > If I just

RE: Ajax Post Value on CF Side

2015-04-07 Thread Robert Harrison
Let me make this simpler. The value being send via an ajax post is: Object {name: "rid", value: "1"} If I just want to dump that value/object how to I do it? I have no idea what name CF see that as. Robert Harrison Full Stack Developer AIMG rharri...@aimg.com Main Office: 704-321-1234  ext.1

Re: Ajax Post Value on CF Side

2015-04-07 Thread Dean Lawrence
You can very easily convert it to a structure using the deserializeJSON function in CF. Here is a link with some examples of working with JSON in ColdFusion. http://www.learncfinaweek.com/week1/JSON/ On Tue, Apr 7, 2015 at 11:55 AM Robert Harrison wrote: > > I'm sending an Ajax post to a CF pag

Re: ACF10 mail and Windows Server 2012

2015-04-07 Thread Byron Mann
Careful with that, make sure you aren't opening up an open mail relay if you have public IP space on the server. You can do a check with some online tools like this. http://mxtoolbox.com/supertoolmobile.aspx On Apr 7, 2015 8:20 AM, "John M Bliss" wrote: > > > In the SMTP Server properties, I c

Re: ACF10 mail and Windows Server 2012

2015-04-07 Thread Byron Mann
Careful with that, make sure you aren't opening up an open mail relay if you have public IP space on the server. You can do a check with some online tools like this. http://mxtoolbox.com/supertoolmobile.aspx On Apr 7, 2015 8:20 AM, "John M Bliss" wrote: > > > In the SMTP Server properties, I c

Re: Ajax Post Value on CF Side

2015-04-07 Thread Jon Clausen
With JQuery: var post_data = $('#myform').serializeArray(); $.post('/mycfpage',post_data,function(data){ //do stuff with JSON data here var name = data.name; var value = data.value; //then manipulate the DOM from there },'json'); On April 7, 2015 at 11:55:47 AM, Rob

Re: Ajax Post Value on CF Side

2015-04-07 Thread Phillip Vector
Looks like a basic JSON value. Just parse it and you should have it put into a variable. or am I not understanding the question? I have yet to have my morning coffee. On Tue, Apr 7, 2015 at 8:55 AM, Robert Harrison wrote: > > I'm sending an Ajax post to a CF page. The post data looks like (be

Ajax Post Value on CF Side

2015-04-07 Thread Robert Harrison
I'm sending an Ajax post to a CF page. The post data looks like (below) in the counsel: Object {name: "rid", value: "1"} How in the heck to I get that value on the ColdFusion page? Robert Harrison Full Stack Developer AIMG rharri...@aimg.com Main Offic

Re: ACF10 mail and Windows Server 2012

2015-04-07 Thread Russ Michaels
are you sure you do not have the emails set to send as HTML ? On Tue, Apr 7, 2015 at 1:19 PM, John M Bliss wrote: > > In the SMTP Server properties, I changed the IP from one of the IP's on the > box to "all unassigned" and it worked. > > Next question: resulting plaintext emails appear to hav

Re: ACF10 mail and Windows Server 2012

2015-04-07 Thread John M Bliss
In the SMTP Server properties, I changed the IP from one of the IP's on the box to "all unassigned" and it worked. Next question: resulting plaintext emails appear to have carriage returns / line feeds stripped out. Any idea how to get those back? On Tue, Apr 7, 2015 at 7:52 AM, John M Bliss wr

ACF10 mail and Windows Server 2012

2015-04-07 Thread John M Bliss
Working on configuring ACF10 mail on Windows Server 2012. I followed these steps: http://blog.hyperfive.com/2013/07/how-to-setup-internal-smtp-service-for.html ...but, in ACF10 admin interface Server Settings > Mail when I set Mail Server to localhost, check Verify mail server connection, and cl