php mail() issues



Apologies if this has been covered before - please slap me and point me in
the right direction if so - I've limited experience of PHP so possibly
missed something obvious

System is a Fedora core 5 system with Apache, PHP 5.1.4 and sendmail 8.13,
more or less a clean install. Sendmail has been configured to point to my
ISP provider, masqerade mail and send via them. This works fine, mail comes
through with the correct headers if I invoke mail from the linux command
prompt.

Cannot get mailing functions from Wordpress 2.2 working. Looking through
the code, I see it uses mail()

Trying a real simple example like this...

<? phpinfo();
mail('mail@xxxxxxxxxxxxx','test','message'); ?>

also fails to work - the php info page is put up as expected but no bounced
mail, no mail comething through, nothing. Is this the correct way of doing
things - should mail be coming through with the code above? php.ini appears
to be set up correctly to point to seendmail - has the right path, has r-x
permission on the binary etc.

Thanks in advace.

Chris.
.



Relevant Pages

  • $_GET[var] works, but $var doesnt
    ... I recently installed the latest Fedora Core 2 but have some troubles of ... which I'm not sure are PHP or Apache 2 related... ... apologies if this is the ...
    (comp.lang.php)
  • splitting files for uploading
    ... My apologies if this question has been asked before .. ... I would like to split large files into smaller chunks for uploading to ... php for re-assembly on the server. ...
    (comp.lang.javascript)
  • Zend
    ... Evening folks ... This has probably been asked before so apologies for that. ... Dreamweaver for PHP and have been for nearly a year. ...
    (comp.lang.php)
  • Re: How do you detect image MIME type of an image in a directory?
    ... PHP has magic.mime installed and instantiated within php.ini upon PHP ... installation. ... >> My apologies, I led all of you in the wrong direction on this. ... >> And I'm sorry but getimagesize(), in this case, can't help me at all. ...
    (comp.lang.php)
  • Re: How do you detect image MIME type of an image in a directory?
    ... PHP has magic.mime installed and instantiated within php.ini upon PHP ... installation. ... >> My apologies, I led all of you in the wrong direction on this. ... >> And I'm sorry but getimagesize(), in this case, can't help me at all. ...
    (alt.php)