php mail() function not working

Oliver Meyn lists-tZhE6lH4Esk+k03BA+Hq9g at public.gmane.org
Mon Oct 6 14:55:43 UTC 2003


On Sun, 2003-10-05 at 17:25, Keith Mastin wrote:
> redhat-7.3
> apache-1.3.27-3
> php-4.1.2

> Here's the code:
> contact.php:
> <?php
> mail("info-PzQIwG9Jn9VAFePFGvp55w at public.gmane.org",
> "Contact form test",
> "$comments"
> );

This is a long shot, but maybe you need a valid From header, given in
the fourth argument to mail()?  I've read that some MTA's puke if they
don't get it, though it doesn't really jive with your log entry.

Just a thought,
Oliver

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