×
Kunena 5.2 RC3 Released (29 Nov 2020)

The Kunena team is thrilled to announce the third public release candidate of Kunena 5.2, a native Joomla extension for Joomla 3.9. This is a development release and should be only be used for testing; this version is not recommended for live websites at this stage.

The purpose of this release is to encourage testing by downloading, installing and identifying any problems or shortcomings that people may discover. K 5.2.0 RC3 is stable and we are aware that people will discover defects. We encourage you to use the forum to report defects, as soon as they are discovered, so that the development team can work through the problems before the release of K 5.1 as a stable product. Reporting defects does not mean that the problems can or will be fixed. The Kunena team is looking forward to hearing your feedback on how well we have achieved our design goals.

× Topics must relate to a currently supported version of Kunena. If you are unsure what is the current supported version of Kunena, please go to the download page.

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

Question Set the Return-Path: header in outgoing forum emails

More
3 years 8 months ago #1 by bcraigie
I use an email to forum plugin, and most times it works great - users can send emails to the forum and they appear as posts. The problem occurs when emails sent from the forum to subscribers get bounced. Any bounces currently come back to the forum email address, which the email to forum plugin then detects as a post and posts the bounce onto the forum.

How can I add the Return-Path: header to outgoing emails from Kunena please?

This would solve the problem, because I can arrange that bounces go to me instead of the forum address.

Thanks

Brian

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

More
3 years 8 months ago #2 by bcraigie
OK, so I found where it can be changed, but this change would be overwritten by a Kunena update:

libraries/kunena/forum/message/message.php

< $mail->setSender(array($config->getEmail(), $mailsender));
---
> $mail->setSender(array('[email protected]', 'Webmaster Name'));
> $mail->setFrom($config->getEmail(), $mailsender,false);

This makes the sender become the return-path. so bounces will go to
Rendering Error in layout BBCode/Email: Property "text" is not defined in /home/dafl6903/public_html/components/com_kunena/template/crypsis/layouts/bbcode/email/default.php on line 22
Layout was rendered in /home/dafl6903/public_html/libraries/kunena/layout/base.php on line 181
and proper replies will go to the forum email address.

This fixes my problem until the next Kunena update. How can I get this integrated into a future release of Kunena so that we can add a "bounces to" configuration in Kunena so that we can parameterize this?

Thanks

Brian

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.094 seconds