I am trying to send an email from an asp page in html format
unfortunately when parenthese appear in the HTML code
of the page to be emailed the ASP page reads them and trys to
interpret them as ASP code

<div align="center">

any suggestions ?

thanks in anticipation Earnie

Re: Sending emails in html format by Evertjan

Evertjan
Mon Nov 06 15:54:40 CST 2006

=?Utf-8?B?RWFybmll?= wrote on 06 nov 2006 in
microsoft.public.inetserver.asp.general:

> I am trying to send an email from an asp page in html format
> unfortunately when parenthese appear in the HTML code
> of the page to be emailed the ASP page reads them and trys to
> interpret them as ASP code
>
> <div align="center">
>

" ... <div align='center'> ... "


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Re: Sending emails in html format by Anthony

Anthony
Tue Nov 07 02:40:16 CST 2006


"Earnie" <Earnie@discussions.microsoft.com> wrote in message
news:DE50B09E-1A95-4C63-B6B9-67A92E6279F9@microsoft.com...
> I am trying to send an email from an asp page in html format
> unfortunately when parenthese appear in the HTML code
> of the page to be emailed the ASP page reads them and trys to
> interpret them as ASP code
>
> <div align="center">
>
> any suggestions ?
>
> thanks in anticipation Earnie

In VBScript a string is delimited with ". In order to include the quotation
character in the string you need to include it twice:-

s = "<div align=""center"">"




Re: Sending emails in html format by NY

NY
Tue Nov 14 11:37:06 CST 2006

"parenthese"??



"Earnie" <Earnie@discussions.microsoft.com> wrote in message
news:DE50B09E-1A95-4C63-B6B9-67A92E6279F9@microsoft.com...
>I am trying to send an email from an asp page in html format
> unfortunately when parenthese appear in the HTML code
> of the page to be emailed the ASP page reads them and trys to
> interpret them as ASP code
>
> <div align="center">
>
> any suggestions ?
>
> thanks in anticipation Earnie