Skip to Content Skip to Menu

public mail plugin: rn instead of break

  • flat eric
  • flat eric
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
15 years 11 months ago #95507 by flat eric
public mail plugin: rn instead of break was created by flat eric
I have a problem with the public mail plugin. All breaks are deleted and replaced with "rn". Is it possible to change this?

I use CB 1.2 stable
Joomla 1.5

Thanks for any help!

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

  • alibroon
  • alibroon
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
15 years 5 months ago #116060 by alibroon
Replied by alibroon on topic Re:public mail plugin: rn instead of break
I just noticed the same problem. Did you ever get a fix for this?

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

  • Jaffa12
  • Jaffa12
  • OFFLINE
  • Posts: 17
  • Thanks: 3
  • Karma: 0
15 years 1 day ago #129670 by Jaffa12
Replied by Jaffa12 on topic Re:public mail plugin: rn instead of break
I too have the same issue with breaks being replaced with 'rn'. Any chance someone can help us?

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

14 years 10 months ago #132854 by KoFShinobi
Replied by KoFShinobi on topic Re:public mail plugin: rn instead of break
Same issue. Anyone know why yet?

delimiters FTW!

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

14 years 10 months ago #132855 by KoFShinobi
Replied by KoFShinobi on topic Re:public mail plugin: rn instead of break
Got it. Find this code in the main php page.


[code:1]
$mailtext = stripslashes($mailtext);
$mailtext = wordwrap($mailtext, 70); // Just to be safe that SMTP-send works
$subject = stripslashes($subject);[/code:1]

put this in between the second and third lines:

[code:1]$mailtext = str_replace('\r\n', "\r\n", $mailtext); // Replace Windows breaks (rn)[/code:1]

All fixed.

delimiters FTW!
The following user(s) said Thank You: MacJoomla

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

  • Jaffa12
  • Jaffa12
  • OFFLINE
  • Posts: 17
  • Thanks: 3
  • Karma: 0
14 years 10 months ago #132857 by Jaffa12
Replied by Jaffa12 on topic Re:public mail plugin: rn instead of break
Thanks for your help but unfortunately that hasn't worked for me. Any other ideas?

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

Moderators: beatnantkrileon
Powered by Kunena Forum