From back end
In Users component options have:
When a user register not to get any notification email.
The email notification is send not matter what.
Joomla 3.3.6
The problem found to be on file:
/joomla_path/components/com_users/models/registration.php
line 502. You must change this line with below:
$user_plugin = JPluginHelper::getPlugin('user', 'joomla');
$mail_to_user = json_decode($user_plugin->params)->mail_to_user;
if ($mail_to_user) {
$return = JFactory::getMailer()->sendMail($data['mailfrom'], $data['fromname'], $data['email'], $emailSubject, $emailBody);
} else {
$return = true;
}
I will try to put the fix in Git.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-01-03 00:11:06 |
Closed_By | ⇒ | brianteeman |
Labels |
Added:
?
|
The issue still remains on 3.4.5
If you believe it's still an issue, please open a new issue instead of writing on a closed one.
Then it can be properly tested and confirmed.
I was able to replicate this, and after testing your proposed solution, I mangled it to create foundation of a merge-able PR #5594