Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to XMLHTTP a parameter to ASP
Message
From
07/11/2005 17:09:56
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
01066201
Message ID:
01066215
Views:
10
>I have code like this in a VFP desktop client :
>oHTTP=CREATEOBJECT("MSXML2.XMLHTTP")
>cSendBody=[ABCDYFUG]
>chur=[http://www.myWebSite.com/myEmail.asp?cBody=cSendBody]
>oHTTP.open([POST],chur,.f.)
>oHTTP.send()
>
>The ASP has a CDO mailer. My hope was to include cSendBody in the body of the message. The ASP page sends the mail - but it does not include the cBody.
>
>Is there something similar to a parameter statemet I need to use in the top of my ASP page.
>
>Thanks

cSendBody is not visible as a varaible in the staatement above, try
chur=[http://www.myWebSite.com/myEmail.asp?cBody=]+cSendBody
Also, used encoded characters for CRLF (%0A%0D)
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform