Closed (outdated)
Project:
Drupal core
Version:
9.5.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Nov 2009 at 15:22 UTC
Updated:
11 Sep 2023 at 12:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
extexan commentedReally?!? This issue is more than 3.5 years old and hasn't been addressed yet?
You know, many sites are still on D6. Can we get this fixed please?
Comment #2
panchomail.inc still uses "format=flowed" in D8.
That being said, the problem might be already solved upstream, so we don't have to workaround.
The question now is whether major mailclients now correctly support "format=flowed".
Moving this to the D8 queue, so we're keeping track.
To be sure, we should probably check at least half of this list:
Comment #3
extexan commented@Pancho, thanks for the reply. After doing a little more digging, I don't think this is related to "format=flowed". I think this code in drupal_wrap_mail() is the culprit...
This is not testing for "format=flowed" anywhere. So, as I understand it, consecutive lines without blank lines to separate them will be put together as a paragraph - which is exactly what is happening in my case. Here's what I want to show in an email:
Here's what I get...
So, without a parameter I can feed to drupal_mail() to tell it NOT to use this method, I can't do anything in my email to make it appear as I would like.
Comment #4
extexan commentedI've found that drupal_wrap_mail() is NOT the culprit after all. But it gets stranger and stranger. I'm actually sending 3 different emails at once. The difference between them is the addition of one field in the list of fields (which is where the problem manifests itself) in the 2nd and 3rd emails. I noticed that the first of the 4 fields is on a line by itself, like this:
If I then add an extra blank line between fields 2 and 3, I get this (which is exactly how it appears in my code):
What I don't understand is: why are fields 2,3,4 combined on one line in the first example (and why is field 1 not included), and why does the same not happen with the pairing of 1,2 and 3,4 in the second example? Can anyone explain this behavior?
Comment #5
stewestHi there.
Funny story this side, and I was about to create my own issue, but perhaps this is the place to post it?
The Contact forms, are sending mail with too many line breaks in my case.
See code:
It looks like this issue is related
https://www.drupal.org/node/1447236
Comment #18
quietone commentedThis was an bugsmash group triage issue.
Comment #2 suggests that this has been fixed upstream. Then #4 is an example of an email produced with unexpected results but there are no steps to reproduce that particular problem.
Is this issue still a problem?
There has been no activity here for 7 years so maybe it has been fixed.
Since we need more information to move forward with this issue, I am setting the status at Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Thanks!
Comment #19
extexan commentedMy 2 cents... The original issue is from 2009. My coments were 10 years ago. The issue has gone from D8.0 (or whatever version it was originally posted for) through to D9.5 (as I write this). I'd say this should be closed and re-opened (or a new issue created) if someone runs into the issue again.
Comment #20
quietone commentedThere has been no further information provided to confirm that this is still a problem. Therefor, I am closing.
If you are experiencing this problem on a supported version of Drupal reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue (starting from "Install Drupal core").
Thanks!