Re: question about mail function
| From: | sven | Date: | Mon, 16 Jun 2003 08:43:26 +0000 |
| Subject: | Re: question about mail function | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20340@lists.php.net to get a copy of this message | ||
i don't really understand your question.
for the extended headers in mail use something like this:
$to = "somebody@example.com";
$subject = "some subject";
$header = "content-type: text/html; charset=\"iso-8859-1\"\n".
"from: \"me@example.com\"\n";
$message = "some message";
if (mail($to, $subject, $message, $header))
{
echo "message sent";
}
else
{
echo "error, not sent";
}
but if you have problems with $_POST, maybe some code (your form and your script) could help.
ciao SVEN
"Tarn@Hk" <godtwister@hotmail.com> schrieb im Newsbeitrag news:Sea1-DAV47eb4UkWHKZ0003e445@hotmail.com...
hi everybody,
i'am have problem about php send mail function, how can i send extra header with
it's. I'am crazy now because I can send it by using users defined variable , but when
I've send it with a html form, it's don't work at all by use $_POST variable
please help me,
thanks you,
.....