Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - ASPEmail Problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ASPEmail Problem

 Post Reply Post Reply
Author
onotoman View Drop Down
Newbie
Newbie
Avatar

Joined: 28 June 2003
Location: United Kingdom
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote onotoman Quote  Post ReplyReply Direct Link To This Post Topic: ASPEmail Problem
    Posted: 28 June 2003 at 4:56am

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

 

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.