Re: Matt Wright's FormMail.pl
by Brian V Bonini <b-bonini(at)cox.net>
|
|
On Mon, 2003-06-16 at 14:12, Mamie wrote:
> The form can be found at
> http://www.theprogresscenter.com/Forms/downloads.html
>
Ok, this is the wrong place to do this:
<input TYPE=hidden NAME="recipient" VALUE="Mamie(at)TheProgressCenter.com,$email">
It can also not work here:
@recipients = &fill_recipients(@referers,$email);
because the form vars have not been parsed yet.
In the perl script find sub send_mail and change the following:
print MAIL "To: $Config{'recipient'}\n";
print MAIL "From: $Config{'email'} ($Config{'realname'})\n";
to something along the lines of:
print MAIL "To: $Config{'recipient'}\n";
print MAIL "CC: $Config{'email'}\n";
print MAIL "From: $Config{'email'} ($Config{'realname'})\n";
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA