FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.

FutureQuest, Inc.
Go Back   FutureQuest Community > General Site Owner Support (All may read/respond) > PHP, Perl, Python and/or MySQL
User Name
Password  Lost PW

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 06-14-2002, 05:06 PM   Postid: 69524
ET
Registered User

Forum Notability:
10 pts: User-friendly
[Post Feedback]
 
Join Date: Mar 2002
Location: Sonoma County, CA
Posts: 3
What is path for sendmail?

OK, I'm totally new to this Perl stuff.
I'm using a script that someone at work wrote, and it calls a Unix function called MAIL. I assume the path to call this function on FQ's server is not the same as on our server at the office... how do I call it?

Here is the pertinent code, which will need to be modified:

<snip>
sub SendMail {
my ( $nFieldCount) = 1;

if ( open (MAIL, "|/usr/lib/sendmail -t $aszParam{'emailTo'}")) {
print MAIL "From: $aszParam{'emailFrom'}\n";
print MAIL "To: $aszParam{'emailTo'}\n";
print MAIL "Subject: $aszParam{'problem'}\n\n";

print MAIL "#THIS EMAIL GENERATED BY AN ONLINE FORM SUBMISSION
<snip>
ET is offline   Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 visitors)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 06:54 AM.


Running on vBulletin®
Copyright © 2000 - 2013, Jelsoft Enterprises Ltd.
Hosted & Administrated by FutureQuest, Inc.
Images & content copyright © 1998-2013 FutureQuest, Inc.
FutureQuest, Inc.