6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/18/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10930] Cannot send emails anymore, headers show up after message body again
*
Your Email Address
*
Spam protection
Enter the letters below:
__ . .. ..___.. . / `|_/ | | | | | \__.| \|/\| | |/\|
Comment
> Horde_Mail isn't broken. Verified with unit tests - the entire > message is correctly sent with the proper linebreaks in all parts of > the message. > > The fix from Ticket #10696 was wrong. There is no expectation that > we should be sending canonical CRLF linebreaks to the sendmail binary > - since this is a SMTP convention. Sendmail != SMTP. > > Instead, we are piping output to a local program. As such, we should > be separating lines with the OS line separator (PHP_EOL). > > Thus, there is no way to be automatically compatible with all > sendmail binaries. The current behavior is the more correct of the > two (see below) so that is what we will use going forward. > > See, e.g.: > http://www.php.net/manual/en/function.mail.php > https://bugs.php.net/bug.php?id=15841 > > I guess we should allow configuration of the separator to workaround > this. But the more correct solution is to use SMTP.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers