Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Re: how to do line break....


Message #1 by "Krishna K Khatri" <zipcn046@i...> on Mon, 20 Aug 2001 10:04:38
Dear Jaeson, hello.

I am not very clear about your problem, but as far as I could understand 

by your statements, it seems that you are receiving the mail, created 

using CDONTS in the <NOBR> format, i.e. even you give a <Enter> in the 

textarea you are receiving a one line (long) string of message.



To get rid of this situation all you need to do is,



Dim msMail

msMail = Server.CreateObject("CDONTS.NewMail")

- - - - - - - - - - - - - - - -

- - - - - - - - - - - - - - - -

- - - - - - - - - - - - - - - -

msMail.MailFormat = 0          'Use 0 for HTML formatting

msMail.MailFormat = 1          'Use 1 for Plain text

- - - - - - - - - - - - - - - -

- - - - - - - - - - - - - - - -

msMail.Send

Set msMail = Nothing





Hope this will solve your problem. Please do let me know, whether the 

solution worked or not.



Regards,

Krishna K Khatri

zipcn046@i...





> Hi,

>   i got some problem with line break...

> it is like what am i doing now writting message in this textarea and 

when 

> we review what we post it is excally what we get but i want to send it 

to 

> and email...

> can amy one help me...

> 

> thanks...

> Jaeson

> :D

  Return to Index