Home

   Home

   Download


Help

   FAQ

   Installation

   Message Board

   Importing Data File
   Into GoldMine
   Into Act

   Readme Files
   V1.5,  V1.9,  V2.0

   Related Scripts


Other

   Testimonies

   Donate

   Advertising Info

   Inspirational E-mail's

   Custom Programming


Related Scripts

Novice Form Processor
  In Perl/CGI
  In PHP
BMF in PHP
  Form To File

































 




A R C H I V E D     M E S S A G E

  Subject: No Subject or From
  Posted: 06/11/2004 at 8:04:04 am
  By: ianclarke

Hi Seth,

I've just noticed the emails I receive with the form data are missing the From and Subject lines.

1. The form contains:

<form method="post" action="../cgi-bin/bizmail/bizmail.cgi">
<input type="hidden" name="subject" value="Feedback from the FAQs page" />
<input type="hidden" name="send_to" value="1" />
<input type="hidden" name="cc_to" value="1" />
<input type="hidden" name="required" value="firstname,email" />
<input type="hidden" name="success_page" value="http://www.mydomain.co.uk/cgi-bin/bizmail/success.cgi?p=1" />
<input type="hidden" name="sendreply" value="0" />
<input type="hidden" name="data_format" value="," />
<input type="hidden" name="datafile" value="1" />

2. The received data email contains:

The form below was submited by ian@mydomain.co.uk from Ip address: 81.103.19.209 on June 11, 2004 at 2:40 PM
-------------------------------------------------------------------------

firstname: Ian

email: ian@mydomain.co.uk

comments: Test

3. The sendmail.cgi contains:

sub sdsmail {


if ($send_email_results eq "1") {

open(MAIL, "|$mailprog -t") || die "Can't open $mailprog!\n";
print MAIL "To: $MAIN_mail_send\n";
if ($mail_ccto){
print MAIL "Cc: $mail_ccto\n";
}
print MAIL "From: $formdata{'email'}\n";
print MAIL "Subject: $formdata{'subject'}\n";
print MAIL "The form below was submitted by $formdata{'email'} from Ip address: $ENV{'REMOTE_ADDR'} on $monthnameactual $dayofmonth, $year at $newhour:$newmin $nightday \n";
print MAIL "-------------------------------------------------------------------------\n\n";

Can you see anything wrong?

Everything else is working fine.

Best wishes

Ian



  Subject: Re: No Subject or From
  Posted: 06/11/2004 at 8:10:57 am
  By: ianclarke

Seth,

Please accept my apologies.

I've just realised it's all working perfectly!!

Best wishes

Ian





Copyright 2000-2004 Seth M. Knorr,
BizMailForm.com Forms Processor, All Rights Reserved






Heart House Community Church, Clermont FL