Re: mail() without subjects and froms
| From: | David Nicholson | Date: | Fri, 20 Jun 2003 16:52:39 +0000 |
| Subject: | Re: mail() without subjects and froms | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152321@lists.php.net to get a copy of this message | ||
Hello,
This is a reply to an e-mail that you wrote on Fri, 20 Jun 2003 at 17:44,
lines prefixed by '>' were originally written by you.
> Hi!
> I guess i do not make any weired things, the configuration looks like
> this:
> mail("$mail",
> "$message",
> "From: "foo@foo.foo"<foo@foo.foo>");
Looks like you are passing the parameters in the wrong order, it should
be:
mail("to@address.com","subject","message","From: Yourname
<you@address.com>");
Read this for more info:
http://uk.php.net/manual/en/function.mail.php
HTH
David.
--
phpmachine :: The quick and easy to use service providing you with
professionally developed PHP scripts :: http://www.phpmachine.com/
Professional Web Development by David Nicholson
http://www.djnicholson.com/
QuizSender.com - How well do your friends actually know you?
http://www.quizsender.com/
(developed entirely in PHP)