Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi,
I have some problems with mimemail, the module automatically add
to my HTML (it seems to add that
when a line have too much characters.
But the
are put anywhere and this results as lines like that :
<div id="content"><table width="95%" border="0" cellspacing="0" cellpadding="1" align="center"<br />
bgcolor="#006699" style="font-family: verdana, arial, helvetica; font-size:<br />
small;"><br />
You can imagine the weird display I obtain to my mail with
put in the middle of style declaration....
I tried to find where the module can put these random
but I didn't find... Can somebody point me the right direction ?
Comments
Comment #1
zmove CreditAttribution: zmove commentedATM, the dirty solution I found is to add
on the begining of theme_mimemail_message() function. (You can avoid to hack the module core by redeclaring the theme function in your template.php).
It remove the
that break the HTML, but it remove All the
, so the ones you put in your content too....
If somebody have a better solution...
Comment #2
lisawoodsca CreditAttribution: lisawoodsca commentedYep, I'm getting the same problem! Really strange. Driving me nuts... I'm using the latest dev snapshot of Mimemail with Simplenews and I'm trying to send out html newsletters.
These line breaks are stuck in for my images and anchor/mailto links if they get too long. Added in that little hack so that will have to do for now. i still have issues with a lot of links in a row - the end tags get removed and placed near the end of the paragraph!
I've tried sending the mails with/without FCKEditor, but it doesn't make a difference...
Hope someone can fix this problem...
Comment #3
zmove CreditAttribution: zmove commentedHmmm I created an input format with no html correction, no line break, nothing checked... and associated mimemail to this input format and now it works.
Comment #5
walker2238 CreditAttribution: walker2238 commentedSorry but this isn't fixed.
Comment #6
walker2238 CreditAttribution: walker2238 commentedSo far from what I read it seems to be cause by drupal_wrap_mail()? Hopefully someone with more knowledge can better explain things to me. But for now I assume this is a core issue?
Anyways marking as duplicate of http://drupal.org/node/321026
Comment #7
walker2238 CreditAttribution: walker2238 commented