Re: Additional e-mail address in PHP script...
| From: | Avdija A . Ahmedhodziæ | Date: | Mon, 19 Nov 2001 00:50:46 +0000 |
| Subject: | Re: Additional e-mail address in PHP script... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75058@lists.php.net to get a copy of this message | ||
I have had some problems with bcc, but only on f. windows server. On "real
server" it works just fine
----- Original Message -----
From: Martin Towell <martin.towell@world.net>
To: 'Anthony Ritter' <tony@gonefishingguideservice.com>;
<php-general@lists.php.net>
Sent: 19. studeni 2001 01:45
Subject: RE: [PHP] Additional e-mail address in PHP script...
> add:
> $mailheaders.="CC: $other_email\n";
>
>
> $mailheaders.="BCC: $other_email\n";
> should also work but I haven't managed to get blind carbon copy to work
for
> me :(
>
> -----Original Message-----
> From: Anthony Ritter [mailto:tony@gonefishingguideservice.com]
> Sent: Monday, November 19, 2001 12:49 PM
> To: php-general@lists.php.net
> Subject: [PHP] Additional e-mail address in PHP script...
>
>
> Is there any way to add an *additional* e-mail address - a cc - besides
the
> one that is already in the $to variable below using the following PHP
> script?
>
> Thanking all in advance.
> Tony Ritter
> ..........................................
>
>
> <?
> $msg="This e-mail is being sent from www site\n";
> $msg.="Sender's name: \t$sender_name\n";
> $msg.="Sender's e-mail:\t$sender_email\n";
> $msg.="Message:\t$message\n\n";
> $to="tony@gonefishingguideservice.com";
> $subject="Website Feedback";
> $mailheaders="From: My website<> \n";
> $mailheaders.="Reply to: $sender_email\n\n";
> mail($to,$subject,$msg,$mailheaders);
> ?>
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>