This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Install & configuration » What is the best way to disable the...
expandshrink

What is the best way to disable the user registration e-mail sent to the *user*?

What is the best way to disable the user registration e-mail sent to the *user*?

Tuesday 01 July 2014 4:41:48 pm - 3 replies

When validation is required, the user registering his account generally gets a first mail with the activation link and a second one confirming the registration process once the validation link is clicked.

I'm looking for a way to disable that second e-mail sent to the user. Not the one sent to the Admin, which is controlled by:

[UserSettings]
RegistrationFeedback=

AFAIK, this e-mail is sent by eZUserOperationCollection::sendUserNotification() which is an operation method defined for "register" in: ezpublish_legacy/kernel/user/operation_definition.php

On various pages (http://share.ez.no/forums/suggestions/improvements_to_registration_process/(from)/ez.no/http://share.ez.no/forums/developer/user-confirmation-for-the-notification-feature ), I have seen a reference to:

 [UserSettings]
EmailRegistrationInfo=disabled

Which sounds like what I need, but it seems like that configuration is not supported anymore ?!

Maybe I missed a configuration or something obvious, but I think it's not possible to override the module operation list, right? So I guess the only possibilities left are one of:

  • Commenting the operation in ezpublish_legacy/kernel/user/operation_definition.php
  • Change eZUserOperationCollection::sendUserNotification() to take into account an INI setting (followed by a PR) happy.gif Emoticon

What's your suggestion?

Modified on Tuesday 01 July 2014 4:45:35 pm by Patrick Allaert

Tuesday 01 July 2014 6:27:56 pm

I'd restore EmailUserInfo functionality in UserSettings

Wednesday 02 July 2014 11:22:20 am

Rocco, that was my idea, but dit this ever existed before? If yes, why is it removed?

I grepped the whole change history for directory "settings" as well as "kernel/user/ezuseroperationcollection.php" and it looks like it never existed.

Patrick

Modified on Wednesday 02 July 2014 11:23:10 am by Patrick Allaert

Wednesday 02 July 2014 1:08:37 pm

Issue created at: https://jira.ez.no/browse/EZP-23095 and proposed as a pull request at: https://github.com/ezsystems/ezpublish-legacy/pull/1016

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from