How to change 'Bounce Email Subject' and 'Bounce Email Body'

  • Chris
  • Chris's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 months 2 weeks ago #7 by Chris
Thx, Christopher, much appreciated - as this is not really a showstopper, I will happily wait for the next release.

Cheers, Chris

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

  • Christopher Mavros
  • Christopher Mavros's Avatar
  • Offline
  • Administrator
  • Administrator
More
9 months 2 weeks ago #8 by Christopher Mavros
Replied by Christopher Mavros on topic How to change 'Bounce Email Subject' and 'Bounce Email Body'
That's great.
Thank you for your understanding!

Christopher Mavros
me@mavxr.com
If you like our extensions, please rate us on the JED!

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

  • Chris
  • Chris's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 months 1 day ago #9 by Chris
Am I right in assuming that the problem has not been fixed in V 3.3.3068? I'm asking, because I still get the pre-defined mail on a bounced address:
 
This image is hidden for guests.
Please log in or register to see it.


When it should look like this:
 
This image is hidden for guests.
Please log in or register to see it.


Cheers, Chris



 

Cheers, Chris

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

  • Christopher Mavros
  • Christopher Mavros's Avatar
  • Offline
  • Administrator
  • Administrator
More
9 months 1 day ago - 9 months 1 day ago #10 by Christopher Mavros
Replied by Christopher Mavros on topic How to change 'Bounce Email Subject' and 'Bounce Email Body'
But the default one is so nice! ... Just kidding.

I found the problem. It is a legacy issue that we have been carrying all the way since Joomla 1.5 to 1.6, to maintain backwards compatibility with existing installations.
Anyway, the solution is to add params. before the option name in lines 190 and 194 of the file joomla_root/components/com_nspro/helpers/cronjobhelper.php.
So:
Code:
190: $subject = $params->get('bounce_email_subject', ... ... 194: $body = $params->get('bounce_email_body', ...

becomes:
Code:
190: $subject = $params->get('params.bounce_email_subject', ... ... 194: $body = $params->get('params.bounce_email_body', ...


I have fixed this and it will be included in the next release.
Thank you for pointing it out (all the times that you needed to do so :D)

Christopher Mavros
me@mavxr.com
If you like our extensions, please rate us on the JED!
Last edit: 9 months 1 day ago by Christopher Mavros.
The following user(s) said Thank You: Chris

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

  • Chris
  • Chris's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 months 1 day ago #11 by Chris
YES!

That did the trick. It's now working as advertised. Thanks alot, Christopher
This problem solved - cheers, Chris

Cheers, Chris

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

Moderators: Christopher Mavros