se7enxweb / eabresetusersmail
CLI script to reset email address of all eZ Publish users Official Community Project: usable with Exponential 6 after review; not yet in the App Store.
Package info
github.com/se7enxweb/eabresetusersmail
Type:exponential-extension
pkg:composer/se7enxweb/eabresetusersmail
Fund package maintenance!
Requires
- php: >=8.0
- se7enxweb/exponential-legacy-installer: ^2.2.6
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-12-03 19:04:36 UTC
README
Synopsis
This extension provides a command line script which will reset all user emails to one email address. This is useful when copying a live website to a test environment and you don't want the users to receive notification emails etc from the test system.
It also provides a command line script to reset a user's password.
Disclaimer
This extension is provided as is, completely free of use and charge.
Copyright
Copyright Enterprise AB Ltd (c) 2012-2014 http://eab.uk
License
GPL 2.0
Contact
Installation
-
Copy the
eabresetusersmailfolder to theextensionfolder or use git:cd extension git clone https://github.com/eab-dev/eabresetusersmail.git -
Edit
settings/override/site.ini.append.php -
Under
[ExtensionSettings]add:ActiveExtensions[]=eabresetusersmail -
Clear the cache:
bin/php/ezcache.php --clear-all
Usage
- To change the default email address:
-
Copy
extension/settings/override/resetusersmail.ini.append.phptosettings/override/resetusersmail.ini.append.phpand edit it. -
Change the value of
ResetMailAddress. -
After saving
extension/settings/override/resetusersmail.ini.append.phpclear the cache:bin/php/ezcache.php --clear-all
-
To reset all users email addresses to the same one, run:
php bin/php/ezexec.php extension/eabresetusersmail/scripts/reset_users_mail.php -
To reset a user's password, run:
php extension/eabresetusersmail/scripts/reset_password.php --user=username --password=newpassword
Official status: Official Community Project for Exponential 6. Usable with Exponential 6 after review; not yet in the App Store.