|
Hi
I'd be eternally grateful if someone could help with a problem, it would help keep my sanity.
We have a simple contact form on our site which is built using Flash. The form sends the info to an ASP script that e-mails the details. Our previous host allowed CDONTS and everything worked fine. But we've moved and the present host uses Persits ASPEmail. I changed the ASP to suit ASPEmail. The problem is that whatever text that is entered in the 'Multiline' Comments field is not sent as input, but is sent as one single line of text for example:
Hi There
Please send information
regards Fred
is sent as:
Hi TherePlease send informationregards Fred
If anyone has any idea what is going on, please help. Below is a listing of the ASP Script, modified for Persits ASPEmail:
<% Dim TheMail Dim StrBody, email, sendername, text
email = Request("email") sendername = Request("name") text = Request("request")
Set TheMail = Server.CreateObject("Persits.MailSender") TheMail.Host = "ns3.zylem.com"
TheMail.From = email TheMail.AddAddress " mailto:dave@atomic.com - dave@atomic.com " TheMail.Subject = "Pet Crematorium Contact Form" StrBody = "Name: " & sendername & chr(13) & chr(10) StrBody = StrBody & "Email: " & email & chr(13) & chr(10) StrBody = StrBody & "Request: " & chr(13) & chr(10) & text TheMail.Body = StrBody TheMail.Send Set TheMail = Nothing %>
Best wishes
Dave
------------- Best wishes
Dave
|