any one give solution

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
$mess="any one help";
error_reporting(E_ERROR | E_WARNING | E_PARSE);
mail($to, $sub, $mess, $from);

 this my email script but i got error "server failed" at line 7

Re: any one give solution

Quoted text here. Click to load it

The From isnt a valid email address sender - try changing kk to your
email address.

Re: any one give solution

*** KK escribió/wrote (15 May 2007 23:37:55 -0700):
Quoted text here. Click to load it

This is the function syntax:

bool mail ( string to, string subject, string message [, string
additional_headers [, string additional_parameters]] )

In the fourth parameter, additional_headers, you can provide additional
headers in the form:

"Header-Name: Header value\nAnother-Header: Another value"

"kk" is not a valid header.

-+ - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web:
+- Mi web de humor con rayos UVA:

Site Timeline