summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2011-02-21 20:03:35 +0000
committerDries Buytaert <dries@buytaert.net>2011-02-21 20:03:35 +0000
commitb20486762f496d3f5b3bd7b6148f80ffddb36fce (patch)
tree2a2d0d4d2150276356c2c7fb43bddd16e52d38a6 /includes
parent9c44a600456dd50c845eb4d3fd8ba547d46b0960 (diff)
downloadbrdo-b20486762f496d3f5b3bd7b6148f80ffddb36fce.tar.gz
brdo-b20486762f496d3f5b3bd7b6148f80ffddb36fce.tar.bz2
- Patch #1062616 by benanderson: failed integration with Amazon's Simple Email Service (SES).
Diffstat (limited to 'includes')
-rw-r--r--includes/mail.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/mail.inc b/includes/mail.inc
index 2628175ed..65f2f89ba 100644
--- a/includes/mail.inc
+++ b/includes/mail.inc
@@ -123,8 +123,8 @@ function drupal_mail($module, $key, $to, $language, $params = array(), $from = N
if ($default_from) {
// To prevent e-mail from looking like spam, the addresses in the Sender and
// Return-Path headers should have a domain authorized to use the originating
- // SMTP server. Errors-To is redundant, but shouldn't hurt.
- $headers['From'] = $headers['Sender'] = $headers['Return-Path'] = $headers['Errors-To'] = $default_from;
+ // SMTP server.
+ $headers['From'] = $headers['Sender'] = $headers['Return-Path'] = $default_from;
}
if ($from) {
$headers['From'] = $from;