You are here: hiding / replace To: email addresses ... « PHP Programming Language « IT news, forums, messages
hiding / replace To: email addresses ...

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация