×
Kunena 5.1.14 Released - Security release (13 Aug 2019)

The Kunena team is proud to announce the arrival of Kunena 5.1.14 [K5.1.14] which is now available for download as a native Joomla extension for Joomla 3.9.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1.14. This update fixed 1 security issue.

Solved Problem with email

More
1 year 2 months ago #21 by bikeboy
Replied by bikeboy on topic Problem with email
I have reinstalled 5.0.14_2018-03-14 version and the email notifications are now working fine - I believe there is something in the 5.1.1 release which is causing the problem mentioned here. At least I have a working forum again.
The following user(s) said Thank You: cucumiau, fiat4x4.gr

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #22 by djos
Replied by djos on topic Problem with email
Why do developers ignore such a serious bug?

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #23 by fiat4x4.gr
Replied by fiat4x4.gr on topic Problem with email
Kunena 5.1.2 doesn't resolve the problem...

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #24 by 810
Replied by 810 on topic Problem with email
we are still investigating the issue.
The following user(s) said Thank You: fiat4x4.gr

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago - 1 year 2 months ago #25 by Kubik-Rubik
Replied by Kubik-Rubik on topic Problem with email

810 wrote: we are still investigating the issue.


Hey 810,

encountered the same issue and can give you some insights.

First my temporary workaround so that the emails are sent again:

\KunenaEmail::send (libraries/kunena/email/email.php)

foreach ($chunks as $emails)
{
    try
    {
        \Joomla\CMS\Factory::getMailer()->sendMail(\Joomla\CMS\Factory::getApplication()->get('mailfrom'), \Joomla\CMS\Factory::getApplication()->get('fromname'), $emails, $mail->Subject, $mail->Body, true);
 
    }
    catch (Exception $e)
    {
        $success = false;
        \Joomla\CMS\Log\Log::add($e->getMessage(), \Joomla\CMS\Log\Log::ERROR, 'kunena');
    }
}

Attention: For me this is sufficient because I'm the only notification receiver and don't need to hide email addresses in BCC etc.

The problem is that you don't set the proper default mailer in the current Kunena code. I use SMTP but if you check the object that was created by Kunena, you see that the SMTP data is not set properly (in fact the mailer is set to "mail" which does not work on my server due to security settings):



You need to specify the SMTP values explicitly, this is how it is done in the Factory class correctly and thus my workaround works as expected. Just take a look into this function \Joomla\CMS\Factory::createMailer (libraries/src/Factory.php).

My suggestion: Either use \Joomla\CMS\Factory::getMailer() or set the mailer properly.

Have success!

Kubik-Rubik Joomla! Extensions
joomla-extensions.kubik-rubik.de
Attachments:
Last edit: 1 year 2 months ago by Kubik-Rubik.
The following user(s) said Thank You: bikeboy

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #26 by 810
Replied by 810 on topic Problem with email
@fiat4x4.gr could you test the nightly build. Its should be ok now.

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #27 by fiat4x4.gr
Replied by fiat4x4.gr on topic Problem with email
Thank you very much, but my knowledge is by far less than yours. It's all seems Greek to me...:laugh: I'll wait the 5.1.3 update that probably will resolve the problem.

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #28 by 810
Replied by 810 on topic Problem with email
on the bottom of the download page, you have the nightly builds, that you can install.
The following user(s) said Thank You: bikeboy

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #29 by fiat4x4.gr
Replied by fiat4x4.gr on topic Problem with email
Kunena 5.1.3 Dione solved the problem!
The following user(s) said Thank You: bikeboy

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.111 seconds