break lines in a mailform.asp

Results 1 to 2 of 2

Thread: break lines in a mailform.asp

  1. #1
    Bernd Guest

    Default break lines in a mailform.asp

    I have a mailform.asp, but all the information are in one line. How can I style the mailform or (mailform.body tag) to get the informations in the receiving email in different lines. I tried it with <BR> but that doesn`t work. <BR>Thanks

  2. #2
    phanindra.t Guest

    Default RE: break lines in a mailform.asp

    mr brend,<BR>what you can do is find out the length of the text and for each 100 char&#039s insert chr(13)&#039new line character.this will work<BR>here is some sample code for that:<BR><BR>if request.form("text")&#060;>"" then<BR>for i=1 to len(request.form("text"))<BR>if j=125 then <BR>edu=edu&chr(13)<BR>j=1<BR>else<BR>edu=edu&mid( request.form("text"),i,1)<BR>j=j+1<BR>end if<BR>next <BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •