sorry if this is the wrong place for this. i'm not sure what module is responsible.
i'm using notifications to send mail when a node is created or edited. it uses drupal mail with the "Messaging plain text" filter. no matter how i configure the filter, the paragraph markers show up in the mail. TinyMCE is enabled so i know the html is created by that but i assume there should be a way to filter it out.
i don't have mbstring installed. could that be related?
Comments
Comment #1
ron collins commentedthis is also a problem with FCK
Comment #2
matason commentedI'm experiencing this too, steps to reproduce:
Install Drupal 6.12
Install notifications 6.x-2.1
Install og 6.x-1.3
Install token 6.x-1.12
Install messaging 6.x-2.1
Enable the modules, I selected messaging, simple mail, content notifications, notificaitons, notifications autosubscribe, notifications lite, notifications ui, organic groups, organic groups notifications and token.
I created a group node, joined the group, set my default send interval and group send interval to immediate and sent an email via /node/1/broadcast
I tried setting the message body filter to messaging plain text which resulted in the email arriving with no formatting at all, just one long string.
I tried setting the message body filter to full/filtered HTML which resulted in the email arrinving with HTML displayed in the message.
I'm not sure whether this is in fact a notifications issue at all, could be messaging?
Comment #3
profjk commentedsubscribing
Comment #4
matason commentedFWIW I have Apache compiled with mb_string enabled.
Comment #5
matason commentedThis is not a bug... it's a messaging installation issue... see http://drupal.org/node/252619 - Mail and messaging modules (Installation and configuration) points out, "So you need to create some Input filters before setting up Messaging"
So to fix this "issue", I created a new input filter adding the HTML to Text filter which uses the drupal_html_to_text function:
"Transform an HTML string into plain text, preserving the structure of the markup. Useful for preparing the body of a node to be sent by e-mail."
I should have read the fine manual...
Comment #6
ron collins commentedthanks. that did it. specifically: