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

jose reyero’s picture

Status: Active » Postponed (maintainer needs more info)

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

mdowsett’s picture

I 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?

jose reyero’s picture

About 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

jose reyero’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No follow up

kenorb’s picture

efc84’s picture

Hi,

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?