ok i put in the 1; and the end of my redone script, plus added a no strict; right before email processing like i see done in other places in 6.7.2 where it sends off an email and I'm still getting the FYI message that email isnt config'd
now i suspect the goofy non-standard mail server config (another almighty motherload kludge) i have going on might be my problem. I'm on a Win2000 server with CommunigatePro mail server, and use their sendmail.exe for my ubb email config. Yup - i said that right... i use sendmail on Windows platform. the reasons why will make your head hurt and eyes glaze over so hopefully i dont have to go there

but up until this custom script adventure, it worked just fine.
so here's what my vars_email.cgi looks like
%vars_email = (
q!EmailServer! => q!mail.dragboatalley.com!,
q!SMTPEmail! => q!Off!,
q!SendMailLocation! => q!c:\websites\ubb6_nappmembers\cgi-bin\sendmail.exe!,
q!UBBFriendUSE! => q!ON!,
q!UseDashF! => q!ON!,
q!UseEmail! => q!ON!,
q!UserMailPref! => q!ON!,
q!email_format! => q!ascii!,
);
and here's where my errant FYI message is coming from in ubb_lib_mail.cgi
# figure out which method we're using
if ($vars_email{SMTPEmail} eq 'On') {
# SMTP
MIME::Lite->send('smtp', "$vars_email{EmailServer}");
} elsif(($vars_email{SendMailLocation} ne "") && (&FileExists($vars_email{SendMailLocation}))) {
# Sendmail
my $dashf = $vars_email{'UseDashF'} ne "OFF" ? " -f $params->{EmailFrom}" : "";
MIME::Lite->send('sendmail', "$vars_email{SendMailLocation} -t -oi$dashf");
} else {
# No SMTP, no sendmail, no mail for you!
&StandardHTML($vars_wordlets_err{tell_admin_to_config_email});
exit;
} # end if
only diff i see in beyondcompare for 6.5 vs. 6.7.2 is the my $dashf line. and i dbl chkd SendMailLocation is correct. anybody see any reason while this aint working for me when used with my custom script??? TIA!