Posted on: 3/27/2011 9:30:47 AM | Views : 225

Hi
I have an asp contact form that gets settings from an xml file. My problem is that the mail server I use needs basic authentication but the xml/asp doesnt seem to have authentication built in. Can anyone help me with an example of how to add authentication?
Thanks <% '----function that removes html tags----------- Function RemoveHTML( strText ) Dim RegEx Set RegEx = New RegExp RegEx.Pattern = "<[^>]*>" RegEx.Global = True RemoveHTML = RegEx.Replace(strText, "") End Function '--------------------------------------------- '------defining script vars------------------- Dim mailObj, mailCfg, myBody, fld Dim RegEx set RegEx = New RegExp '-------------------------------------------- '------getting data sent by flash (filtering configuration data)------------ For Each fld in Request.Form If Request.Form(fld) <> "" and _ fld <> "mail_to" and _ fld <&g ...

Go to the complete details ...