diff options
Diffstat (limited to 'includes/mail.inc')
-rw-r--r-- | includes/mail.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/includes/mail.inc b/includes/mail.inc index 2628175ed..d2febed39 100644 --- a/includes/mail.inc +++ b/includes/mail.inc @@ -1,5 +1,4 @@ <?php -// $Id$ /** * @file @@ -123,8 +122,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; |