Apache question

Joe Bielli jbielli at netsos.com
Tue Oct 30 17:21:20 EST 2001


Dege,

Please consider using PHP to accomplish this (or this can be easily done
in any other server model). View this page for examples on how people
call up sendmail in non-daemon mode just to send out single emails. I'm
not sure this is exactly what you are trying to do, but this should be
sufficient.

http://www.php.net/manual/en/function.mail.php

You can also just use 

<?

mail('user at company.com', 'subject', 'this is my message');

?>

Sendmail doesn't need to run in daemon mode, but you already knew that.

Joe Bielli
Software Development
 
Computer SOS, inc.
1505 Cleveland Drive
Buffalo, NY 14225
P:// 716.635.0086
E:// jbielli at netsos.com
 

-----Original Message-----
From: owner-nflug at nflug.org [mailto:owner-nflug at nflug.org] On Behalf Of
Robert Dege
Sent: Tuesday, October 30, 2001 4:54 PM
To: nflug at nflug.org
Subject: Apache question


I am building a few webpages on my linux server.  Within the web page
page, I have it setup to send mail to me via a form.  But when the mail
gets sent out, apache uses the local sendmail program.

Where do I tell apache to use a remote sendmail server instead of using
the localhost as a mailer daemon?  I plan on keeping sendmail inactive,
but don't want to break my web forms.



Dege

Inside some of us is a thin person struggling to get out, but
they can usually be sedated with a few pieces of chocolate cake.



More information about the nflug mailing list