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.co m\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.co m\r\n";
$header .= "X-Sender: email@notset.co m\r\n";
$header .= "From: email@notset.co m>\r\n";
$header .= "Reply-To: email@notset.co m";
$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
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.co m\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.co m\r\n";
$header .= "X-Sender: email@notset.co m\r\n";
$header .= "From: email@notset.co m>\r\n";
$header .= "Reply-To: email@notset.co m";
$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
Comment