Problem is:
User registers at the side and gets a registration email with a
confirmation link which can be used. and
Admin gets an email notification of a newly registered user
Admin activates & enables the user
No notification email to the user is sent about his accounts activation
No hints in the logs. Mailserver is working as described. Tests with System emails active for users show no difference in the behavior. Also added true to $return = JFactory::getMailer()->sendMail($data['mailfrom'], $data['fromname'], $data['email'], $emailSubject, $emailBody, true); in registeration.php
Does this feature actually work? Any help in solving this would be much-appreatiated.
Using Joomla 3.9.15 and no external plugins for user-management.
Thanks in advance for your time.
Joomla distinguishes between user activation by link through email or via administration backend. In order to send an email to the user after the activation of the user account one needs to use the link from the email. Activation from the administration backend will not send an email to the user who's account was activated.
Related
I'm trying to use Laravel 5.7's new email verification feature. Let's say I'm logged in as Admin inside the admin panel and I want to:
Create a random user via admin panel.
Send an email verification to that created user's email.
How can I accomplish this with the new Laravel 5.7 email verification feature?
The built in verification scaffolding provides a notification to do this. You just need to ensure that the user's verified_at is set to null and then
use Iluminate\Auth\Notifications\VerifyEmail;
$user->notify(new VerifyEmail);
This will resend a new email with a signed URL.
I am working on a Laravel 4.2 project.
I already have implemented an email activation module for new user registration. Whenever a new user registers, I provide an activation link to him in an email and clicking on link, I compare the token (a random string with 30 characters) I have provided with link and user's email address with database records. If found to be matching, I just set is_active field of users table to true and redirect him to login page with a Congratulations message for successful activation.
But now, I DON'T want him to redirect to login page, but if successful activation, I want him logged in directly to his account.
But I believe that authenticate an user with just a string token and email address is not a secure way.
There must be something that I can trust on. Many sites do this including stackoverflow itself but I am not sure how?
Can you please guide me how to do this?
Is there something similar to the email verifcation feature where a system admin could validate user sign-up/registration requests?
Background: We're building a system with a closed community, where new users can join only if an admin has verified their sing-up data.
Ideally the admin should just receive an email that there's a new registration request and validate the request directly from the email.
The emailVerified column is protected - it can only be updated by the system in response to the target user clicking the link in the validation email.
An admin can not "tick" this field on behalf of another user.
However. From your brief description of the background I would suggest that you want the users to click the link - after all it serves to validate their email address. If you are creating your own app there is nothing to stop you adding your own column to the user model (or preferably a related table) and implement code in your sign up that also checks this extra column. Of course this is more work - but likely not excessive - and you get the desired workflow.
i have a big problem. I have to create a button that is taking the name and email of registred users and sending automatic email to the admin for confirmation.
Joomla already has a feature so that admins must approve the registration of a user. Have a look here at the Joomla documentation:
https://docs.joomla.org/Enabling_user%27s_registration_approval_by_admins
If you need a little more functionality, you may want to consider a 3rd party extension such as Admin Approval
Hope this helps
I have a local site on Drupal 7.21. The problem is it doesn't sent mail after registration. It still sends "lost password" messages, as well as contact form messages.
To debug it I've added a _mail_alter to track messages using dd() and dpm() functions. And added this code to settings.php:
$conf['mail_system'] = array('default-system' => 'DevelMailLog',);
And $message contains no info about registration mail. How can I debug what is going on?
P.S. I don't know if it is important. On REGISTRATION AND CANCELLATION tab on config page (admin/config/people/accounts) I selected these option: Visitors can register accounts, but require e-mail verification when a visitor creates an account.
Make sure "Notify user when account is activated" is also checked. It's located under the Account activation tab on the Account settings config page (admin/config/people/accounts).
If you're creating users via admin/people/create, there's a similar checkbox you'll need to check.