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

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
no_comment
Registered User
Posts: 67
Joined: Sat Dec 27, 2014 11:17 pm
Location: Hell
Contact:

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

Post by no_comment » Wed Dec 28, 2016 3:12 am

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

User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3197
Joined: Wed Oct 27, 2004 11:35 pm
Name: William
Contact:

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

Post by bonelifer » Wed Dec 28, 2016 4:02 am

If you update to phpBB 3.1.10 you can use this extension:
https://www.phpbb.com/customise/db/exte ... istration/
Knowledge Base | phpBB Board Rules | Search Customisation Database
Image
Please don't contact me via PM or email for phpBB support .

Locked

Return to “[3.0.x] Support Forum”

Who is online

Users browsing this forum: Bing [Bot], salvocortesiano and 57 guests

cron