php mail actually opens a pipe to sendmail so having sendmail or a sendmail replacement in your path is important. Also having access to /var/log/maillog is often the most valuable resource when debugging outgoing mail.<br>
<br>First check your path to see if the sendmail command is available to php (it's worth checking of the base dir is set in the php ini too) then once you're sure sendmail is there check your maillog. if you still have issues post an excerpt from the maillog and i should be able to tell you the problem.
<br><br>PS. off topic, i will be attending next week, however, I was wondering if someone could give me a lift from near the library, or anywhere else near the town center, as I don't drive.<br><br>--N<br><br><div><span class="gmail_quote">
On 02/12/2007, <b class="gmail_sendername">Alain Williams</b> <<a href="mailto:addw@phcomp.co.uk">addw@phcomp.co.uk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sun, Dec 02, 2007 at 09:29:15PM -0000, walt wrote:<br>> Hi,<br>><br>> I cannot get this work. I followed the instructions, replaced postfix with<br>> sendmail, set it up and tested it with telnet localhost smtp as well as with
<br>> evolution and mails are sent and received.<br>><br>> But the PHP mail() function wont work. Dont know where the mail goes either.<br>> Is there a log somewhere that tells me whether the mail() function has
<br>> attempted to connect to sendmail smtp?<br>><br>> I have checked the web and this is not unusual, by all accounts. None of<br>> the fixes I have seen there work though. If there is way round this I'd like
<br>> to know.<br><br>How are you running php mail(), via a web form or interactively ?<br>If on a web form check the log files. Is error_reporting in your php.ini<br>set to maximum ?<br><br>mail() passes mail to the MTA, is there something in the mail queue ?
<br>What do the MTA logs say ?<br><br>--<br>Alain Williams<br>Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.<br>+44 (0) 787 668 0256 <a href="http://www.phcomp.co.uk/">http://www.phcomp.co.uk/
</a><br>Parliament Hill Computers Ltd. Registration Information: <a href="http://www.phcomp.co.uk/contact.php">http://www.phcomp.co.uk/contact.php</a><br>Chairman of UKUUG: <a href="http://www.ukuug.org/">http://www.ukuug.org/
</a><br>#include <std_disclaimer.h><br><br>_______________________________________________<br>Watford mailing list<br><a href="mailto:Watford@mailman.lug.org.uk">Watford@mailman.lug.org.uk</a><br><a href="https://mailman.lug.org.uk/mailman/listinfo/watford">
https://mailman.lug.org.uk/mailman/listinfo/watford</a><br></blockquote></div><br><br clear="all"><br>-- <br>MCSE is to computers as McDonalds Certified Chef is to fine cuisine.