|
Posted by g0c on 09/25/06 10:26
hi,
how to hide or replace email addresses in php mail function
with something like "group" so the email addresses to which email
is sent are not visible ?
i have :
$subs = "email1@dot.com, emai2@dot.com, email3@dot.com"
$header .= "To : email@notset.com\r\n";
$header .= "Cc :\r\n";
$header .= "Bcc : $subs\r\n";
$header .= "Content-Type: text/plain; charset=ISO-8859-1\r\n";
$header .= "Return-Path: email@notset.com\r\n";
$header .= "X-Sender: email@notset.com\r\n";
$header .= "From: email@notset.com>\r\n";
$header .= "Reply-To: email@notset.com";
$mailsend = mail($subs, $subject, $msg, $header);
and when i get email all addresses are shown in header To: field ...
hmm,
can i use Bcc: maybe ?
thanks, and please help a newbie :-)
regards,
goc
PS: real email address are changed of course
Navigation:
[Reply to this message]
|