Message Board

   Importing Data File
   Into GoldMine
   Into Act



   Custom Programming

   PHP Version

Other Favorites

   Hire a clean comedian

   Bible Search Engine

   Bible in a Year

   Parallel Bible

   The Richer Life


[ Message Board Home ]    [ Post Reply ]    [ Log In ]    [ Sign Up ]

  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: 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


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


Please accept my apologies.

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

Best wishes


Reply To This Topic

Due to unrelated post's, you must have an
account to post a message. To Sign Up click here.

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