Is there a similar tool for vB4?
Also, I think it would require only a one or two line modification to sendmessage.php to achieve the same thing?
I see this in the
// ############################### start do mail member ###############################
section
Code:
//note that $message is set via the run via eval from fetch_email_phrases.
vbmail($userinfo['email'], fetch_censored_text($vbulletin->GPC['emailsubject']), $message ,
false, $vbulletin->userinfo['email'], '', $vbulletin->userinfo['username']);
Would I just add my bcc e-mail address in there somewhere?
UPDATE:
I think I should be making the change in class_mail.php where it is building the headers? but not sure exactly what to do :-)
UPDATE2:
I think I figured it out! Just add an extra header line in class_mail.php like this --
Code:
$headers .= 'MIME-Version: 1.0' . $delimiter;
$headers .= 'Content-Type: text/plain' . iif($encoding, "; charset=\"$encoding\"") . $delimiter;
$headers .= 'Content-Transfer-Encoding: 8bit' . $delimiter;
$headers .= 'X-Priority: 3' . $delimiter;
$headers .= 'X-Mailer: vBulletin Mail via PHP5' . $delimiter;
$headers .= 'Bcc: webmaster@example.com' . $delimiter;
Haven't fully tested it but it seems to be working!
Thanks!
Eric