Print Page | Close Window

ASPEmail Problem

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=3902
Printed Date: 30 March 2026 at 10:07am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: ASPEmail Problem
Posted By: onotoman
Subject: ASPEmail Problem
Date 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 " 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net