navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Free FrontPage Templates

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

&vbcrlf

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> &vbcrlf
Page: [1]
 
rickyzicky

 

Posts: 208
From: roch, ny
Status: offline

 
&vbcrlf - 11/19/2002 20:30:17   
I just had a strange thing happen.

I have a form with 4 radio buttons per line and 31 lines to represent the days of the week.

The form submits to a jmail form and the results are emailed with a line brake for each day.

Originally the email was received in good order with the proper line breaks
until I decided to make one box in each line a " selected" .

Since then, there have been no line breaks in the email.
I attempted to change it back to " not selected" in all lines and it will only give a line break if nothing is selected. If I select any radio box, that line will not break.

Here are a few lines of code.
------------------------------------------------------
<%

for each key in request.form
eBody = eBody & key &" : " &request.form(key) &chr(10)
next

SET JMail = Server.CreateObject(" JMail.smtpmail" )
JMail.ServerAddress = " formmail.strongsecure.com"
JMail.Sender = request.form(" emailaddress" )
JMail.Subject = " ref availability"
JMail.AddRecipient " rick@rochesterprocess.com"
JMail.Body = request.form(" refname" ) &" Submitted on " &request.form (" T1" )&vbcrlf &_
request.form(" M1" )&" - " &request.form(" R1" )&vbcrlf &_
request.form(" M2" )&" - " &request.form(" R2" )&vbcrlf &_
request.form(" M3" )&" - " &request.form(" R3" )&vbcrlf &_
request.form(" M4" )&" - " &request.form(" R4" )&vbcrlf &_
__________________________________________

Thanks
rdouglass

 

Posts: 9280
From: Biddeford, ME USA
Status: offline

 
RE: &vbcrlf - 11/20/2002 8:33:37   
I' m not at all familiar with JMail, but if I were using CDONTS, I wouldn' t use the vbcrlf for a return in my email - I would use a CHR(010) (and CHR(013) to be technically correct)or use <br> if I was sending HTML.

(in reply to rickyzicky)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> &vbcrlf
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts