×
K5.1.1 is released (10 Jun 2018)

The Kunena team is pleased to announce Kunena 5.1.1 [K 5.1.1].
Please read the blog post for information:

× 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
1 year 3 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
1 year 3 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('This email address is being protected from spambots. You need JavaScript enabled to view it.', 'Webmaster Name'));
> $mail->setFrom($config->getEmail(), $mailsender,false);

This makes the sender become the return-path. so bounces will go to This email address is being protected from spambots. You need JavaScript enabled to view it. 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 add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.070 seconds