From b20486762f496d3f5b3bd7b6148f80ffddb36fce Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 21 Feb 2011 20:03:35 +0000 Subject: - Patch #1062616 by benanderson: failed integration with Amazon's Simple Email Service (SES). --- includes/mail.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes') 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; -- cgit v1.2.3