Forum Moderators: open
Have the same problem myself, one way to get rid of the <br> tag is to use Chr(13) outside the text tag:
" bla " & Chr(13) & " bla "
It would progress my work if I knew how to do that
<added> Chr() doesn't do that it displays certain characters
ie
* H & * l "
which may be ignored and treated as tags when using normal html. The asp version of > < type functions! </added>
[edited by: cmatcme at 4:54 pm (utc) on Mar. 11, 2005]
Mail.Body = "<font size='3' face='Verdana'><b>PERSONAL INFORMATION</b><br><hr>" & _
"<table cellSpacing='0' cellPadding='0' border='1'>" & _
"<tr>" & _
"<td><font size='2' face='Verdana'>Social Security No. <br><b>" & _
frmSocSecNo1 & "-" & frmSocSecNo2 & "-" & frmSocSecNo3 & "</b></td>" & _
"</tr>"
Just thought you should know something else:
<html><head><title>Processing...</title>
<%
If request ("email") = "@" AND request ("email") = "." Then
response.write "<meta http-equiv='Refresh' content='1;url=mailto:example@example.co.uk?From=" & request ("email") & "&Subject='New User'&Body=" & cbody & "'></head><body>"
Else
response.write " </head><body> Error X "
End If
%> </body> </html> Not using JMail or other components
This gives users a chance to validate their email (if they can understand the html code in variable cbody!)