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 worked in my 32 bit environment. Encoding issue?

On Tue, Apr 7, 2015 at 2:43 PM, Dean Lawrence  wrote:

>
> 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 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, 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 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 
> > > wrote:
> > > >
> > > > > 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 click
> > > > Submit,
> > > > > I get Connection Verification Failed!
> > > > >
> > > > > Any ideas what I'm missing?
> > > > >
> > > > > --
> > > > > John Bliss - http://www.linkedin.com/in/jbliss
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > John Bliss - http://www.linkedin.com/in/jbliss
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
> 

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


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 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, 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 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 
> > wrote:
> > >
> > > > 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 click
> > > Submit,
> > > > I get Connection Verification Failed!
> > > >
> > > > Any ideas what I'm missing?
> > > >
> > > > --
> > > > John Bliss - http://www.linkedin.com/in/jbliss
> > > >
> > >
> > >
> > >
> > > --
> > > John Bliss - http://www.linkedin.com/in/jbliss
> > >
> > >
> > >
> >
> >
>
> 

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


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, 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 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 
> wrote:
> >
> > > 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 click
> > Submit,
> > > I get Connection Verification Failed!
> > >
> > > Any ideas what I'm missing?
> > >
> > > --
> > > John Bliss - http://www.linkedin.com/in/jbliss
> > >
> >
> >
> >
> > --
> > John Bliss - http://www.linkedin.com/in/jbliss
> >
> >
> >
>
> 

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


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".

Too simple, so it confused me.  


Robert Harrison
Full Stack Developer
AIMG
rharri...@aimg.com
Main Office: 704-321-1234  ext.118
Direct Line: 516-302-4345
www.aimg.com




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


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 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.118
> Direct Line: 516-302-4345
> www.aimg.com
>
>
>
> 

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


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.118
Direct Line: 516-302-4345
www.aimg.com



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


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 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 Office: 704-321-1234  ext.118
> Direct Line: 516-302-4345
>   www.aimg.com
>
>
>
>
>
>
>
>
>
> 

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


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 changed the IP from one of the IP's on
the
> box to "all unassigned" and it worked.
>


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


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 changed the IP from one of the IP's on
the
> box to "all unassigned" and it worked.
>


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


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, Robert Harrison (rharri...@aimg.com) wrote:


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 Office: 704-321-1234 ext.118 
Direct Line: 516-302-4345 
 www.aimg.com 











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


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 (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 Office: 704-321-1234 ext.118
> Direct Line: 516-302-4345
>   www.aimg.com
>
>
>
>
>
>
>
>
>
> 

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


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 Office: 704-321-1234  ext.118
Direct Line: 516-302-4345
  www.aimg.com



 

 



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


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 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  wrote:
>
> > 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 click
> Submit,
> > I get Connection Verification Failed!
> >
> > Any ideas what I'm missing?
> >
> > --
> > John Bliss - http://www.linkedin.com/in/jbliss
> >
>
>
>
> --
> John Bliss - http://www.linkedin.com/in/jbliss
>
>
> 

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


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  wrote:

> 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 click Submit,
> I get Connection Verification Failed!
>
> Any ideas what I'm missing?
>
> --
> John Bliss - http://www.linkedin.com/in/jbliss
>



-- 
John Bliss - http://www.linkedin.com/in/jbliss


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


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 click Submit,
I get Connection Verification Failed!

Any ideas what I'm missing?

-- 
John Bliss - http://www.linkedin.com/in/jbliss


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