Re: [PHP] Re: Mail() Not working right

2002-12-16 Thread Chris Hewitt
Miguel González Castaños wrote: I am testing the php mail function with the typical script $mailsuccess = mail(...); if (!$mailsuccess) { echo "Mail could not be sent"; } In one redhat linux box I got that the email was sent succesfully and in the other box, it cant send it, but the script is e

Re: [PHP] Re: Mail() Not working right

2002-12-16 Thread Miguel González Castaños
Dear all, Sorry for my English...I am not a native speaker... I am experiencing the same problem with the mail function. I am using exactly the same test php script to test the PHP mail function. I have two RedHat linux boxes. In one box, the PHP mail function work and in the other one doesnt wo

Re: [PHP] Re: Mail() Not working right

2002-12-12 Thread Tom Culpepper
I actaully already wrote one like that. The PHP is going fine, the problem I believe is PHP interfacing with my mail server. Thanks though Steve Yates wrote: "Tom Culpepper" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... while I get no PHP errors the mail is

[PHP] Re: Mail() Not working right

2002-12-12 Thread Steve Yates
"Tom Culpepper" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > while I get no PHP errors the mail is never sent. > mail("[EMAIL PROTECTED]", "testing 1234", "this is a test message"); I don't think this shows an error if it doesn't work. Try $mailsuccess