Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 3rd, 2006, 10:15 PM
Friend of Wrox
 
Join Date: Mar 2006
Posts: 310
Thanks: 0
Thanked 0 Times in 0 Posts
Default line break on email sent

hello

I made a activation script to the registers of my page, and in the message that follows for mail I wanted to send for example:

Code:
Dim SendMail As New MailMessage
...
SendMail.Body ="Hello <break> Thanks for register! <break> Please click in order to proceed to activaction <break> " & link 
...
what can I write instead of "<break>" to obtain the break line?

Anyone can help please?

Mail format: "text"

Thanks

 
Old September 4th, 2006, 06:56 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

For an HTML message: try "<BR />" (without the quotes).

For an ASCII message you need to use the normal end-of-line: Environment.NewLine, or one of the VB constants that mean the same thing.

 
Old September 4th, 2006, 04:07 PM
Friend of Wrox
 
Join Date: Mar 2006
Posts: 310
Thanks: 0
Thanked 0 Times in 0 Posts
Default

in the forum of asp a member said me to use "vbCrLf" (vb.net)

Thanks englere






Similar Threads
Thread Thread Starter Forum Replies Last Post
result line break. cowbell1 Java Basics 1 October 18th, 2007 05:28 AM
line break Cyber Shiva HTML Code Clinic 1 May 17th, 2007 06:04 AM
line break problem XSLT 1 February 20th, 2006 11:18 AM
Extra line Break kanchan_b XSLT 1 February 3rd, 2006 09:11 AM
break up line crmpicco Javascript How-To 1 June 6th, 2005 06:54 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.