Closed (fixed)
Project:
Notifications
Version:
5.x-1.0-beta3
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
31 May 2008 at 22:13 UTC
Updated:
23 Nov 2012 at 12:15 UTC
I have tried "all possible filtering orders" (I think), but are still getting odd line break tags shown on notification e-mails.
Mails are fine, if I cancel line break in Drupal, but the text are too bad, if Drupal don't make line break automatically.
Are there any simple clue - what can I have done wrong - or: how can I possibly do it "right" - to get neat text on the website - but also nice e-mails without HTML-tags for line break -br /- and -p-
Comments
Comment #1
jose reyero commented> getting odd line break tags
How odd? I mean would you copy and paste some examples, please?
About line breaking, if you're sending out plain text emails, you should never use Drupal's line break converter for the messaging filter.
Comment #2
mdowsett commentedI think (if I understand the post properly) I am getting the same issue. My Notifications emails look like this:
Greetings sogaadmin,
test
edit 1
edit 2
Shouldn't the tags be at least stripped out so it's plain text?
Do you have the option in the Notifications settings of sending either plain text or HTML emails?
Comment #3
jose reyero commentedAbout the filter ordering the 'plain text' filter must run after all the rest (specially after the 'line break converter').
The best filtering is provided when you have the html_to_text module enabled, then you'll see a new 'HTML to text' filter available and that's the one to use. http://drupal.org/project/html_to_text
Comment #4
jose reyero commentedNo follow up
Comment #5
kenorb commentedCould be related: #506112: wrong line wrapping on drupal_wrap_mail() in mail.inc
Comment #6
efc84 commentedHi,
I'm having the same problem in drupal 6. I am currently only using the default drupal mail, should i install the PHPMailer or Mime mail to fix this problem?
Comment #7
kenorb commented#807286: best way to remove the glue to fix linebreak issue on mimemail?