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

 

 

$address = "[EMAIL PROTECTED]";

$subject = "Test";

$body = "test";

                             

if(mail($address, $subject, $body)) {

      echo("Success");

} else {

      echo("Didn't work");

}

 

 

------------------------

Davíđ Örn Jóhannssson

Vefforritari

------------------------

Atómstöđin hf.

Garđastrćti 37

101 Reykjavík

------------------------

sími: 595-3643

fax: 595-3649

[EMAIL PROTECTED]

http://www.atom.is

------------------------

 

Reply via email to