I'm trying to use the php mail function.
i define $email, $subject, $message and just call the mail function:
mail( $email, $subject, $message );
it sits there for a while, then returns a CGI error, saying something about incomplete headers.
Does anyone know what the problem might be?
Thanks.
mail function
Moderator: General Moderators
You might want to post the complete script if you want us to help. It might be some glitch along the line. Anyhow, is this the only problem with functions? If not maybe your PHP is not compiled as an Apache module but a CGI one and so on.
Incomplete headers, what does it really say? I'm sure it's something like: Warning: Imcomplete headers on line 94 of mail.php or so.
-Nay
Incomplete headers, what does it really say? I'm sure it's something like: Warning: Imcomplete headers on line 94 of mail.php or so.
-Nay