Re: Email - Line Break.



You can also try

objEmail.Body = "Dear " & Rw("name") & "," & Environment.NewLine &
txtMessage.Text



"Adam Knight" <adam@xxxxxxxxxxxxxxx> wrote in message
news:eDJdlfNtFHA.1168@xxxxxxxxxxxxxxxxxxxxxxx
> Hi all,
>
> I am sending email via ASP.NET.
> In the message i am wanting to insert a linebreak after an initial
> salutation.
> In asp I would simply use vbCrLf.
>
> objEmail.Body = "Dear " & Rw("name") & "," & vbCrLf & txtMessage.Text
>
> This doesn't work.
>
> What do i need to do to insert the required line break.
>
> Cheers,
> Adam
>
>


.



Relevant Pages