Re: mail() question
| From: | Matthias Wulkow | Date: | Mon, 25 Aug 2003 12:24:25 +0000 |
| Subject: | Re: mail() question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-160660@lists.php.net to get a copy of this message | ||
Hallo Alister,
am Montag, 25. August 2003 um 03:27 hast Du Folgendes gekritzelt:
A> Did you install postfix _after_ PHP? Did you have a sendmail binary in
A> place before you configured PHP? If it's not there are configure time,
A> it won't even compile the 'mail' function.
Yes and there was no sendmail binary before...
A> I've had the same problem before - now that PHP can recognise it's got a
A> way to send email, re-running ./configure / make / make install should
A> work. It did for me.
I did that, but I forgot to do 'make clean'... now it seems to work.
But I have still one question:
when sending mail with this sendmail binary, is it possible to pass
the mail to a local mail server instead of sending it directly to the
recipient? I ask, because I have a mail server in the network
(different machine than the one running the webserver), but I'd like
the mail not to go outside the network (I have no nameserver!)...
[10 minutes later...]
I don't get the error anymore, but no mail has been sent. No errors in
apache-logs... nothing. I'm trying to sniff the network data transfer
with ethereal, but I don't find any connection to any port 25...
In php.ini, I haven't uncomment the sendmail part (sendmail_path =
...) because there is written that default is sendmail -t -i which
should be ok...
SvT
--
Who is the ennemy?
mailto:elektrik@gmx.net