Re: Header question
| From: | Yuri Petro | Date: | Sun, 28 Apr 2002 21:17:20 +0000 |
| Subject: | Re: Header question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-95020@lists.php.net to get a copy of this message | ||
Just replace the last line with:
@mail ($To,$Subject,$Message,"From: $EmailSender\nReply-To:
$EmailSender);
--
Kind regards,
Yuri.
>>>> www.AceHoster.com <<<< Quality web hosting
"Dean Ouellette" <dean@ouellette.ws> ???????/???????? ? ???????? ?????????:
news:000e01c1eef4$07cbeb40$0200a8c0@yoda...
>
> I have a tell a friend script and got the php script from a friend to
> make it work. I am a newbie so still do not fully udners stand it.
> Here is the problem, it puts the following at the top of each e-mail:
> X-Mailer: PHP/4.1.2
>
>
> Here is the script:
>
> <?php
> $Subject = "Look at this, I think you will like it"; //The Emails
> subject
> $Email[] = "email@here.com";
> reset ($Email);
> while (list(, $To) = each ($Email)) {
> @mail ($To,$Subject,$Message,"From: $EmailSender\nReply-To:
> $EmailSender\nX-Mailer: PHP/".phpversion());
> }
>
> ?>
>
>