Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2003
Posts: 179
Member
Member
Offline
Joined: Feb 2003
Posts: 179
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 wink but up until this custom script adventure, it worked just fine.

so here's what my vars_email.cgi looks like
Code
%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
Code

# 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!

Sponsored Links
Entire Thread
Subject Posted By Posted
reusing custom script from 6.5 in 6.7.2 RoxSeibert 07/26/2006 4:01 PM
Re: reusing custom script from 6.5 in 6.7.2 AllenAyres 07/26/2006 4:15 PM
Re: reusing custom script from 6.5 in 6.7.2 RoxSeibert 07/26/2006 4:23 PM
Re: reusing custom script from 6.5 in 6.7.2 AllenAyres 07/26/2006 4:30 PM
Re: reusing custom script from 6.5 in 6.7.2 RoxSeibert 07/26/2006 5:00 PM
Re: reusing custom script from 6.5 in 6.7.2 AllenAyres 07/26/2006 5:11 PM
Re: reusing custom script from 6.5 in 6.7.2 RoxSeibert 07/26/2006 5:28 PM
Re: reusing custom script from 6.5 in 6.7.2 RoxSeibert 07/26/2006 6:54 PM
Re: reusing custom script from 6.5 in 6.7.2 AllenAyres 07/26/2006 8:45 PM
Re: reusing custom script from 6.5 in 6.7.2 The Team 07/26/2006 9:19 PM
Re: reusing custom script from 6.5 in 6.7.2 The Team 07/26/2006 9:27 PM
Re: reusing custom script from 6.5 in 6.7.2 AllenAyres 07/26/2006 9:54 PM
Re: reusing custom script from 6.5 in 6.7.2 RoxSeibert 07/26/2006 10:09 PM
Re: reusing custom script from 6.5 in 6.7.2 AllenAyres 07/26/2006 10:28 PM
Re: reusing custom script from 6.5 in 6.7.2 RoxSeibert 07/26/2006 10:39 PM
Re: reusing custom script from 6.5 in 6.7.2 AllenAyres 07/27/2006 12:11 AM
Re: reusing custom script from 6.5 in 6.7.2 RoxSeibert 07/27/2006 3:48 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 1424
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 26
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)