separate lines (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


kitty6 -> separate lines (6/17/2008 10:50:52)

I have a asp form that e-mails some data. How can I get the data to appear on separate lines in my e-mail? Now, it appears on one line with the following code. Thanks.

Body = Body & CHR(013) & CHR(010) & request.form("Person")
Body = Body & CHR(013) & CHR(010)
Body = Body & CHR(013) & CHR(010) & request.form("Category")
Body = Body & CHR(013) & CHR(010) & request.form("Reason")




pd_it_guy -> RE: separate lines (6/17/2008 10:57:26)

We had the same issue.

Try an HTML <BR> tag. Double space is a <BR><BR>. Either before or after each line that needs a break.

Since it is not Vb but HTML, it should be blue, not red.




BeTheBall -> RE: separate lines (6/17/2008 11:03:46)

This work?

Body = Body & VbCrLf & request.form("Person")
Body = Body & VbCrLf
Body = Body & VbCrLf & request.form("Category")
Body = Body & VbCrLf & request.form("Reason")




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.367188E-02