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