Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: mail problem


Message #1 by Super Powerfulrez <powerfulrez@g...> on Sat, 20 Jul 2002 15:12:06 -0700 (PDT)
> there is an example of a simple mail function on page 520 in the 
> book beginning php4
> the problem is how do i send to multiple recipients? everytime i 
> try to add more email addresses they will come out in the main 
> body of mail and only the first email will get the mail
> 
> question: how do i modify the code so that i can send to everyone 
> (through bcc), without emails appearing in the main body?

Have you tried looking through the list archives or the php documentation?

   http://www.php.net/function.mail

shows a very detailed example of sending mail and setting the headers.


good luck,

nik


  Return to Index