When I try to pass information from an outlook email message, the format is stripped.
It sends it as one long string without any line breaks. Does anyone have any ideas?
This how the code looks:
thanks
It sends it as one long string without any line breaks. Does anyone have any ideas?
This how the code looks:
Code:
Dim objXMLHTTP As MSXML2.XMLHTTP
Dim strCGIForm As String
Dim strType As String, strLevel1 As String, strLevel2 As String, strLevel3 As String, strDesc As String
Dim strWebResult As String, strVars As String
strCGIForm = "[URL unfurl="true"]http://cprweb/clearexp_cgi.exe/dd_topaz.htm"[/URL]
strType = "call_type"
strLevel1 = "level1"
strLevel2 = "level2"
strLevel3 = "level3"
strDesc = "CASE_DESCRIPTION"
strVars = "?"
strVars = strVars & strType & "=" & strCaseType & "&"
strVars = strVars & strLevel1 & "=" & strCaseL1 & "&"
strVars = strVars & strLevel2 & "=" & strCaseL2 & "&"
strVars = strVars & strLevel3 & "=" & strCaseL3 & "&"
strVars = strVars & strDesc & "=" & strBody & "&"
Set objXMLHTTP = CreateObject("MSXML2.XMLhttp")
With objXMLHTTP
.Open "GET", strCGIForm & strVars, False
.Send '**Send Variables
End With