Page 1 of 1

How to send registration e-mail copy to the admin?

Posted: Wed Dec 28, 2016 3:12 am
by no_comment
Here is how it was done in phpBB2:

Code: Select all

OPEN
includes/usercp_register.php

FIND
         include($phpbb_root_path . 'includes/emailer.'.$phpEx);
         $emailer = new emailer($board_config['smtp_delivery']);

         $emailer->from($board_config['board_email']);
         $emailer->replyto($board_config['board_email']);

AFTER, ADD
         // Send email to the admin
         $emailer->bcc($board_config['board_email']);
Thank you.

Regards,
DANIEL

Re: How to send registration e-mail copy to the admin?

Posted: Wed Dec 28, 2016 4:02 am
by bonelifer
If you update to phpBB 3.1.10 you can use this extension:
https://www.phpbb.com/customise/db/exte ... istration/