Ilia wrote on Sun, 21 May 2006 13:23 |
It can be found inside the src/ directory. |
ky@smi wrote on Sun, 20 August 2006 21:43 |
RE: imsg_edt.inc.t. Which function generates the send list, and which flag is the one that corresponds to "All message forum notification option"? |
$to_email=array();/*ADDED*/ $to_icq=array(); /*ADDED*/ while ($r = db_rowarr($c)) { if ($r[2] & 16) { $to_email[]= $r[0]; /*ADDED*/ // $to_email['EMAIL']=$r[0]; } else { $to_icq[] = $r[1].'@pager.icq.com'; /*ADDED*/ // $to_email['ICQ']=$r[1].'@pager.icq.com'; } if (isset($r[4]) && is_null($r[3])) { $tl[] = $r[4]; } } $to['EMAIL']=$to_email; /*ADDED*/ $to['ICQ']=$to_icq; /*ADDED*/
if (is_array($to)) { // $to = $to[0]; $to_tmp=$to[0]; /* ADDED*/ if (count($to) > 1) { unset($to[0]); $bcc = 'Bcc: ' . implode(', ', $to); } $to=$to_tmp; /* ADDED */ }
mail($to, $subj, str_replace("\r", "", $body), "From: ".$from."\nErrors-To: ".$from."\nReturn-Path: ".$from."\nX-Mailer: FUDforum v".$GLOBALS['FORUM_VERSION'].$header.$bcc);
mail($to, $subj, str_replace("\r", "", $body), $bcc);
mail($to, $subj, str_replace("\r", "", $body), "From: ".$from."\nErrors-To: ".$from."\nReturn-Path: ".$from."\nX-Mailer: FUDforum v".$GLOBALS['FORUM_VERSION'].$header.$bcc);
mail($to, $subj, str_replace("\r", "", $body), $bcc);