phpbar.de logo

Mailinglisten-Archive

[php] Newsletter per BCC verschicken

[php] Newsletter per BCC verschicken

Tobias traffic_eye_(at)_hotmail.com
Sun, 21 Jan 2001 17:12:01 +0100


hi

versuch mal  so:

>  $query2 = "select email from auth_user";
>  $result1 = mysql_query($query2);
> 
>  $flirtmaster = "FlirtArea<webmaster_(at)_flirtattack.de>";
>  $bcc = "From: $flirtmaster\nReplay to: $flirtmaster";
> 
>  while(($row = mysql_fetch_row($result1)) )
>   {
>    $email = $row[0];
>    $bcc .= "\nBcc: $email";
>   }
     $bcc.= "\ncontent-type: text/plain";
     $bcc:= "\ncontent-transfer-encoding: 8bit";
     $bcc.="\n\n".$newsletterText;
> 
>   mail("ChristianThiele_(at)_gmx.de", "FlirtArea-News [01/01]", "", $bcc);

vieleicht hilft es so ..
cu
tobias


php::bar PHP Wiki   -   Listenarchive