[PHP] Having a poblem with the mail() function

2002-01-21 Thread David Orn Johannsson
The thing is when i run this script which seems allright to me atleast, it always fails, Can anyone even guess what the problem might be? The webserver is running a php 4.1, SunOS 5.7, Apache, and sendmail which is required for the mail() function if I'm right? Thanks David

Re: [PHP] Having a poblem with the mail() function

2002-01-21 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 21-01-02 at 16:41 * David Orn Johannsson said The thing is when i run this script which seems allright to me atleast, it always fails, Can anyone even guess what the problem might be? The webserver is running a php 4.1, SunOS 5.7,

RE: [PHP] Having a poblem with the mail() function

2002-01-21 Thread David Orn Johannsson
] Subject: Re: [PHP] Having a poblem with the mail() function -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 21-01-02 at 16:41 * David Orn Johannsson said The thing is when i run this script which seems allright to me atleast, it always fails, Can anyone even guess what the problem might

Re: [PHP] Having a poblem with the mail() function

2002-01-21 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 21-01-02 at 16:54 * David Orn Johannsson said $address = [EMAIL PROTECTED]; $subject = Test; $body = test; if(mail($address, $subject, $body)) { echo(Success); } else {

RE: [PHP] Having a poblem with the mail() function

2002-01-21 Thread David Orn Johannsson
Thanks alot I'll check into the php.ini Regards, David -Original Message- From: Nick Wilson [mailto:[EMAIL PROTECTED]] Sent: 21. janĂșar 2002 16:06 To: 'PHP-General' Subject: Re: [PHP] Having a poblem with the mail() function -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 21-01