Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Body in ASP.NET mail does not accept 1

Status
Not open for further replies.
Mar 14, 2002
711
US
For some reason when I format my message to HTML and then insert the <BR> command in the body of the email, it will not accept it;

This is how I had set it up:

objMail.BodyFormat = MailFormat.Html

objMail.Body = "A Kaizen form has been submitted for your review please go to <a href=' Selection</a>"

+ "KaizenID: " & KaizenID & " "<BR>" Area: " & Area & "<BR>" User Name: " & LastName & " , Date Submitted: " & Dte & ""

And so forth, but it does not like it at all....any ideas what I am missing here, I know it is something dumb...
 
It could be anything really (incorrect markup, CSS, the email client).

A good test would be to use correct HTML markup so maybe try using paragraph tags instead.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top