php mail() function not working

Kevin Cozens kcozens-qazKcTl6WRFWk0Htik3J/w at public.gmane.org
Tue Oct 7 18:15:49 UTC 2003


At 07:42 PM 10/07/2003 +0200, Peter wrote:
>If there would be a way to make mail() send SMTP to localhost instead of
>attempting to deliver it, then it would probably work with any setup, and
>leave the mail routing to postfix, and the firewalling to the firewall
>(you need not use only port 25 for incoming ...). That way these apps
>should stop trampling on each other's permissions and everything should
>keep working even if you upgrade something.

The Perl scripts I have used on web pages that needed to send mail simply 
invoked the /bin/mail command to send mail. If you can do the same thing 
from PHP you will have a solution that will work regardless of the mail 
system used and you won't have to worry about permissions.


Cheers!

Kevin.  (http://www.interlog.com/~kcozens/)

Owner of Elecraft K2 #2172        |"What are we going to do today, Borg?"
E-mail:kcozens at interlog dot com|"Same thing we always do, Pinkutus:
Packet:ve3syb at ve3yra.#con.on.ca.na|  Try to assimilate the world!"
#include <disclaimer/favourite>   |              -Pinkutus & the Borg

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list