[Xitami] MAILTO as CGI app! Please, please help.

Matthew Newton xitami@lists.xitami.org
Fri, 21 Sep 2001 18:26:41 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_000A_01C142CA.F5AD8020
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Hi all

I wonder if somebody would be kind enough to help me.

I have found and downloaded the MAILTO (v1.6) program from the Xitami
website and am having no small amount of trouble using it as a CGI app. I
have pasted the contents of the CFG file and the HTML FORM code that I am
utilising. I wonder if somebody could please tell me if there is anything
wrong in either. I have read and re-read the readme txt file but to no
avail. I fear I must be missing something. I have included more details
below:

When trying to run MAILTO as a CGI app and utilise it from within the FORM
action field on my HTML pages it simply displays its command line arguments
text output, within the HTML target frame. No mail gets sent. It seems it is
being successfully accessed as a CGI app but instead of sending mail it just
throws back the command line arguments instead.

The spec and environment:
Windows 9x/ME based (version shouldn’t matter should it?)
ActiveState ActivePERL v5.6.1.269
Xitami Web Server v2.5b2

I can supply on an individual basis the a text file with the CGI environment
variables to anyone that can promise to help.

This is my last hope, I really need this to work. Thank you in advance for
you help. I have tried emailing the author but the email address distributed
with the zip file is no longer valid.

In addition, is there any way to get MAILTO to redirect the browser to a
specific web page/URL after successful form submission (rather than have the
entire page code included in the CFG file)?

In case anybody is wondering I can’t use FormMail as it requires a SENDMAIL
program which isn’t present on my OS (I only seem able to find it on NT/2000
or UNIX).

Failing the above is there any free, publicly available formmail / mailto
program out there on the web that anyone knows about? I cannot use the ones
provided by my ISP as they will not alter the referrers section of their
formmail script to include me.

Matthew Newton
matthew.newton@tubscorner.co.uk

NOTE: The information contained in this e-mail is intended for the named
recipients only, it may also be privileged and confidential. If you are not
an intended recipient you must not copy, distribute or take any action in
reliance upon it.  No warranties or assurances are made in relation to the
safety and content of this e-mail and any attachments.  No liability is
accepted for any consequences arising from it.  E&OE.


------=_NextPart_000_000A_01C142CA.F5AD8020
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 9">
<meta name=3DOriginator content=3D"Microsoft Word 9">
<link rel=3DFile-List href=3D"cid:filelist.xml@01C142CA.F5380200">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:DrawingGridHorizontalSpacing>6 pt</w:DrawingGridHorizontalSpacing>
  =
<w:DisplayHorizontalDrawingGridEvery>2</w:DisplayHorizontalDrawingGridEve=
ry>
  =
<w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery>
  <w:Compatibility>
   <w:FootnoteLayoutLikeWW8/>
   <w:ShapeLayoutLikeWW8/>
   <w:AlignTablesRowByRow/>
   <w:ForgetLastTabAlignment/>
   <w:DoNotUseHTMLParagraphAutoSpacing/>
   <w:LayoutRawTableWidth/>
   <w:LayoutTableRowsApart/>
  </w:Compatibility>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Font Definitions */
@font-face
	{font-family:"Harlow Solid Italic";
	panose-1:4 3 6 4 2 15 2 2 13 2;
	mso-font-charset:0;
	mso-generic-font-family:decorative;
	mso-font-pitch:variable;
	mso-font-signature:3 0 0 0 1 0;}
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
	{margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
span.EmailStyle16
	{mso-style-type:personal-compose;
	mso-ansi-font-size:10.0pt;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:black;}
span.EmailStyle17
	{mso-style-type:personal;
	mso-ansi-font-size:10.0pt;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:navy;}
span.EmailStyle18
	{mso-style-type:personal;
	mso-ansi-font-size:10.0pt;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:black;}
@page Section1
	{size:595.3pt 841.9pt;
	margin:14.2pt 14.2pt 43.1pt 14.2pt;
	mso-header-margin:35.45pt;
	mso-footer-margin:35.45pt;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
</head>

<body lang=3DEN-GB style=3D'tab-interval:36.0pt'>

<div class=3DSection1>

<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Hi all<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>I wonder if somebody would be kind enough to help =
me.<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>I have found and downloaded the MAILTO (v1.6) program from the =
Xitami
website and am having no small amount of trouble using it as a CGI app. =
I have
pasted the contents of the CFG file and the HTML FORM code that I am =
utilising.
I wonder if somebody could please tell me if there is anything wrong in =
either.
I have read and re-read the readme txt file but to no avail. I fear I =
must be
missing something. I have included more details =
below:<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>When trying to run MAILTO as a CGI app and utilise it from within =
the
FORM action field on my HTML pages it simply displays its command line
arguments text output, within the HTML target frame. No mail gets sent. =
It
seems it is being successfully accessed as a CGI app but instead of =
sending
mail it just throws back the command line arguments =
instead.<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>The spec and environment:<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Windows 9x/ME based (version shouldn&#8217;t matter should =
it?)<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>ActiveState ActivePERL =
v5.6.1.269<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Xitami Web Server v2.5b2<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>I can supply on an individual basis the a text file with the CGI
environment variables to anyone that can promise to =
help.<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>This is my last hope, I really need this to work. Thank you in =
advance
for you help. I have tried emailing the author but the email address
distributed with the zip file is no longer =
valid.<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>In addition, is there any way to get MAILTO to redirect the =
browser to a
specific web page/URL after successful form submission (rather than have =
the
entire page code included in the CFG =
file)?<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>In case anybody is wondering I can&#8217;t use FormMail as it =
requires a
SENDMAIL program which isn&#8217;t present on my OS (I only seem able to =
find it on
NT/2000 or UNIX).<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Failing the above is there any free, publicly available formmail =
/
mailto program out there on the web that anyone knows about? I cannot =
use the
ones provided by my ISP as they will not alter the referrers section of =
their
formmail script to include me.<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><!--[if supportFields]><font color=3Dblack><span=20
style=3D'color:black'><span =
style=3D'mso-element:field-begin'></span><span=20
style=3D"mso-spacerun: yes">&nbsp;</span>AUTOTEXTLIST \s &quot;E-mail=20
Signature&quot; <span =
style=3D'mso-element:field-separator'></span></span></font><![endif]--><s=
pan
class=3DEmailStyle17><b><font size=3D2 color=3Dnavy face=3DArial><span
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial;fon=
t-weight:
bold'><o:p></o:p></span></font></b></span></p>

<p class=3DMsoNormal style=3D'mso-layout-grid-align:none'><font size=3D5 =
color=3Dblack
face=3D"Harlow Solid Italic"><span =
style=3D'font-size:20.0pt;mso-bidi-font-size:
10.0pt;font-family:"Harlow Solid =
Italic";mso-bidi-font-family:Arial;color:black'>Matthew
Newton</span></font><font size=3D2 color=3Dblack face=3D"Harlow Solid =
Italic"><span
style=3D'font-size:10.0pt;font-family:"Harlow Solid =
Italic";mso-bidi-font-family:
"Courier =
New";color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'mso-layout-grid-align:none'><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:black'>matthew.newton@t=
ubscorner.co.uk</span></font><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'mso-layout-grid-align:none'><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:black'><![if =
!supportEmptyParas]>&nbsp;<![endif]></span></font><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><b><font size=3D1 color=3Dblack face=3DArial><span
style=3D'font-size:8.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;colo=
r:black;
font-weight:bold'>NOTE</span></font></b><font size=3D1 color=3Dblack =
face=3DArial><span
style=3D'font-size:8.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;colo=
r:black'>:
The information contained in this e-mail is intended for the named =
recipients
only, it may also be privileged and confidential. If you are not an =
intended
recipient you must not copy, distribute or take any action in reliance =
upon it.<span
style=3D"mso-spacerun: yes">&nbsp; </span>No warranties or assurances =
are made in
relation to the safety and content of this e-mail and any =
attachments.<span
style=3D"mso-spacerun: yes">&nbsp; </span>No liability is accepted for =
any
consequences arising from it.<span style=3D"mso-spacerun: yes">&nbsp;
</span>E&amp;OE.</span></font><font color=3Dblack><span =
style=3D'color:black;
mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><!--[if supportFields]><font color=3Dblack><span=20
style=3D'color:black'><span =
style=3D'mso-element:field-end'></span></span></font><![endif]--><font
color=3Dblack><span style=3D'color:black'><![if =
!supportEmptyParas]>&nbsp;<![endif]></span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/p>

</div>

</body>

</html>

------=_NextPart_000_000A_01C142CA.F5AD8020--