Discussion:
Getting HTML created by IntraWeb
(too old to reply)
Bob
2008-06-23 07:11:45 UTC
Permalink
I have created a Web Server using IntraWeb,
I want to create an app to retrieve the received HTML of the IntraWeb
then place it in a E-Mail, but I get this responce, what is going on?:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>

<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
<META HTTP-EQUIV="no-cache">

<META NAME="GENERATOR" Content="Visual Page 1.1 for Windows">
<TITLE>Email Creator Error</TITLE>
</HEAD>

<BODY>

<P>
<TABLE BORDER="0" WIDTH="100%">
<TR>
<TD WIDTH="115">&nbsp;</TD>
<TD>
<H1 ALIGN="CENTER">Email Creator Error
</TD>
</TR>
<TR>
<TD WIDTH="115">&nbsp;</TD>
<TD VALIGN="TOP">Your browser was detected as Unknown or Unrecognized.
One of the following browsers is required:
* Internet Explorer
* Netscape 6 (Gecko)
</TD>
</TR>
</TABLE>



</BODY>

</HTML>
Joel
2008-06-23 13:33:41 UTC
Permalink
set supportedbrowers on the servercontroll and on the form
Post by Bob
I have created a Web Server using IntraWeb,
I want to create an app to retrieve the received HTML of the IntraWeb
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
<META HTTP-EQUIV="no-cache">
<META NAME="GENERATOR" Content="Visual Page 1.1 for Windows">
<TITLE>Email Creator Error</TITLE>
</HEAD>
<BODY>
<P>
<TABLE BORDER="0" WIDTH="100%">
<TR>
<TD WIDTH="115">&nbsp;</TD>
<TD>
<H1 ALIGN="CENTER">Email Creator Error
</TD>
</TR>
<TR>
<TD WIDTH="115">&nbsp;</TD>
<TD VALIGN="TOP">Your browser was detected as Unknown or Unrecognized.
* Internet Explorer
* Netscape 6 (Gecko)
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
Bob
2008-06-23 22:31:20 UTC
Permalink
I am not using a browser.
I am calling through TIdHTTP ( Indy component )

Kind Regards,

Robert.
Post by Joel
set supportedbrowers on the servercontroll and on the form
Post by Bob
I have created a Web Server using IntraWeb,
I want to create an app to retrieve the received HTML of the IntraWeb
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
<META HTTP-EQUIV="no-cache">
<META NAME="GENERATOR" Content="Visual Page 1.1 for Windows">
<TITLE>Email Creator Error</TITLE>
</HEAD>
<BODY>
<P>
<TABLE BORDER="0" WIDTH="100%">
<TR>
<TD WIDTH="115">&nbsp;</TD>
<TD>
<H1 ALIGN="CENTER">Email Creator Error
</TD>
</TR>
<TR>
<TD WIDTH="115">&nbsp;</TD>
<TD VALIGN="TOP">Your browser was detected as Unknown or Unrecognized.
* Internet Explorer
* Netscape 6 (Gecko)
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
Bob Swart
2008-06-24 07:06:37 UTC
Permalink
Hi Bob,
Post by Bob
I am not using a browser.
But for HTML 4 output, IntraWeb expects a HTML 4 compatible browser (so
it looks at the UserAgent to determine the browser type).
Post by Bob
I am calling through TIdHTTP ( Indy component )
Perhaps you can fake the UserAgent content? Or generate HTML 3.2 output?
Post by Bob
Kind Regards,
Robert.
Groetjes,
Bob Swart
--
Bob Swart Training & Consultancy (eBob42.com) Forever Loyal to Delphi
CodeGear Technology Partner -- CodeGear RAD Studio Reseller (BeNeLux)
Delphi Win32 & .NET books on Lulu.com: http://stores.lulu.com/drbob42
Personal courseware + e-mail support http://www.ebob42.com/courseware
Blog: http://www.drbob42.com/blog - RSS: http://eBob42.com/weblog.xml
Loading...