A
AGreenberg
How on earth do I get Tripod's emailing script to work?
All I want to do is have a form send out an email. Tripod doesn't let you have
access to their sendmail folder so they give you a wrapper script called
TripodMail.pm but there's no really good howto that I can find.
I'm using FP2003 but I tried and failed with 03 and 98 utterly.
This is what I did with the form...
--------------------------------------------------------------------------
<FORM METHOD="POST" ACTION="http://www.blisolutions.biz/cgi-bin/TripodMail.pm">
------------------------------------------------------------------------
........
and this is what have in TripodMail.pm, right out of their tutorial.
--------------------------------------------------------------------------
---------
require TripodMail;
$MAIL = new TripodMail;
$mail_template = "http://www.blisolutions.biz/cgi-bin/_mail.txt";
%variables = ('email' => '(e-mail address removed)',
'name' => 'Alex',
'number' => '2');
$MAIL->sendMail($mail_template, \%variables);
--------------------------------------------------------------------------
------
and here is _mail.txt....
--------------------------------------------------------------------------
------
To: $email
From: (e-mail address removed)
Subject: Response from Website
Hello $name,
Thank you for your comments. We will be contacting you shortly.
--------------------------------------------------------------------------
------
Thank you for any help you can give me!
Best Regards,
Alex
Alex Greenberg - Clarinetist with Nefesh
http://www.NefeshBand.com
All I want to do is have a form send out an email. Tripod doesn't let you have
access to their sendmail folder so they give you a wrapper script called
TripodMail.pm but there's no really good howto that I can find.
I'm using FP2003 but I tried and failed with 03 and 98 utterly.
This is what I did with the form...
--------------------------------------------------------------------------
<FORM METHOD="POST" ACTION="http://www.blisolutions.biz/cgi-bin/TripodMail.pm">
------------------------------------------------------------------------
........
and this is what have in TripodMail.pm, right out of their tutorial.
--------------------------------------------------------------------------
---------
require TripodMail;
$MAIL = new TripodMail;
$mail_template = "http://www.blisolutions.biz/cgi-bin/_mail.txt";
%variables = ('email' => '(e-mail address removed)',
'name' => 'Alex',
'number' => '2');
$MAIL->sendMail($mail_template, \%variables);
--------------------------------------------------------------------------
------
and here is _mail.txt....
--------------------------------------------------------------------------
------
To: $email
From: (e-mail address removed)
Subject: Response from Website
Hello $name,
Thank you for your comments. We will be contacting you shortly.
--------------------------------------------------------------------------
------
Thank you for any help you can give me!
Best Regards,
Alex
Alex Greenberg - Clarinetist with Nefesh
http://www.NefeshBand.com