php mail() function not working

serge_ss-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org serge_ss-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org
Tue Oct 7 19:57:02 UTC 2003


Guys,

In fact, to send e-mails PHP calls a program defined in sendmail_path variable of its configuration file, by default is's sendmail -t -i.

Sergey

> 
> From: Kevin Cozens <kcozens-qazKcTl6WRFWk0Htik3J/w at public.gmane.org>
> Date: 2003/10/07 Tue PM 02:15:49 EST
> To: tlug-lxSQFCZeNF4 at public.gmane.org
> Subject: Re: [TLUG]: php mail() function not working
> 
> 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
> 

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