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