bbAntiSpam: Discuss how to stop web spam

The forum is retired.

bbAntiSpam Forum Index - phpBB spam - Change the admin email address

Author Message
Todd
Guest





Posted: Tue Jun 10, 2008 5:10 pm    Post subject: Change the admin email address  

Is there way to change the email address Text Confirmation uses? Rather than the default PHPBB admin email?
admin
Site Admin


Joined: 18 Apr 2006
Posts: 805
Location: Saint-Petersburg, Russia

Posted: Wed Jun 11, 2008 3:20 am    Post subject:  

No, there is no such option.

However, you can edit the source code. In the file "functions_tc.php", find
Code:
$emailer->email_address($board_config['board_email']);

and change to
Code:
$emailer->email_address('email_address_you_want');

_________________
Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development!
Todd
Guest





Posted: Thu Jun 12, 2008 1:39 pm    Post subject: I made that change but the email is going to admin email  

I made that change but the email is going to admin email address? Is there another step?
admin
Site Admin


Joined: 18 Apr 2006
Posts: 805
Location: Saint-Petersburg, Russia

Posted: Fri Jun 13, 2008 3:03 am    Post subject:  

Quote:
I made that change but the email is going to admin email address? Is there another step?

No any additional steps required. Make sure that the updated file is uploaded on the server. Check that you changed the correct line, not the previous line with the text "$board_config['board_email']".
_________________
Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development!
Todd
Guest





Posted: Fri Jun 13, 2008 4:39 am    Post subject: This is what I have:  

//
// Send the message
//
include_once($phpbb_root_path . 'includes/emailer.'.$phpEx);
$emailer = new emailer($board_config['smtp_delivery']);
$emailer->use_template('textual_confirmation');
$emailer->encoding = $lang['ENCODING'];
$from = $emailer->encode($lang['Textual_Confirmation']);
$from = "$from <" . $board_config['board_email'] . '>';
$emailer->from($from);
$emailer->replyto($from);
$emailer->email_address('spam@redbuttonproductions.net');
if ($key != $lic_key) {
$emailer->bcc('tcsubmit@bbspam.com');
}
$subst['SUBJECT'] = $emailer->encode($lang['tc_mail_subject']);
$emailer->extra_headers('X-bbAniSpam-spam: Yes');
$emailer->assign_vars($subst);
$emailer->send();
$emailer->reset();
}
admin
Site Admin


Joined: 18 Apr 2006
Posts: 805
Location: Saint-Petersburg, Russia

Posted: Sat Jun 14, 2008 3:05 am    Post subject:  

The code is changed correctly. It must work. Otherwise I'd blame environment -- for example, you may get e-mails from another forum.

If you wish, just delete this code block. In this case you'll get no e-mails at all.
_________________
Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development!

Ok.