Closed (duplicate)
Project:
Drupal core
Version:
6.19
Component:
mail system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Sep 2010 at 17:04 UTC
Updated:
17 Nov 2011 at 08:02 UTC
Looks like something similar has already been added to 7.x. (modules/system/system.mail.inc:43)
This fixes mail on my system.
--- includes/mail.inc.orig 2010-09-18 09:21:59.000000000 -0700
+++ includes/mail.inc 2010-09-18 09:22:08.000000000 -0700
@@ -189,7 +189,8 @@
str_replace("\r", '', $message['body']),
// For headers, PHP's API suggests that we use CRLF normally,
// but some MTAs incorrecly replace LF with CRLF. See #234403.
- join("\n", $mimeheaders)
+ join("\n", $mimeheaders),
+ '-f'.$message['headers']['From']
);
}
}
| Comment | File | Size | Author |
|---|---|---|---|
| patch-includes-mail.inc_.diff | 449 bytes | pixilla |
Comments
Comment #1
c960657 commentedDuplicate of #131737: Ensure that the Return-Path is set when sending mail on both Windows and non-Windows systems..