[ back to toc ]

attempting to install a BNB virtual card cgi script

Date: 2002/03/09 02:33

Q:
I have installed and configured a BNB,
http://www.bignosebird.com/carchive/cardcgi.shtml,virtual card cgi script
but am having problems with the mail portion.
The script gives you the following two options for the send mail:
# USE EITHER SMTP OR SEND_MAIL DEPENDING ON YOUR SYSTEM# BUT NOT BOTH!
$SMTP_SERVER="/mail.ooffy.com";
#SEND_MAIL="/usr/sbin/sendmail";
and if I set it as seen above, the script completes fine on my website but
I receive no emails. If I set the script to use send_mail instead of
smtp_server, I receive an Internal Server Error. This is strange to me as
I have installed a cgi message board which uses the send mail and works
perfectly.
The page where I have the card script is: www.ooffy.com/card.html
The page where I have the bulletin board script, with the working emails,
is:
http://ooffy.com/cgi-bin/MasterBoard.cgi

Any help is greatly appreciated,
-jeff
A:
$SMTP_SERVER="/mail.ooffy.com";

What is the leading slash???? You have to

$SMTP_SERVER="mail.ooffy.com";

Regards,
Peter

[ back to toc ]