/[drupal]/contributions/modules/smtp/smtp.module
ViewVC logotype

Diff of /contributions/modules/smtp/smtp.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.17.2.8, Tue Sep 23 22:03:01 2008 UTC revision 1.17.2.9, Tue Nov 10 01:34:07 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: smtp.module,v 1.17.2.7 2008/07/17 14:58:08 oadaeh Exp $  // $Id: smtp.module,v 1.17.2.8 2008/09/23 22:03:01 oadaeh Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 276  function drupal_mail_wrapper($message) { Line 276  function drupal_mail_wrapper($message) {
276      $from_name = variable_get('site_name', '');      $from_name = variable_get('site_name', '');
277    }    }
278    
279      //Hack to fix reply-to issue.
280      $properfrom = variable_get('site_mail','');
281      if (!empty($properfrom)) {
282        $headers['From'] = $properfrom;
283      }
284      if (!isset($headers['Reply-To']) || empty($headers['Reply-To'])) {
285        $headers['Reply-To'] = $from;
286      }
287    
288    // Blank value will let the e-mail address appear.    // Blank value will let the e-mail address appear.
289    
290    if ($from == NULL || $from == '') {    if ($from == NULL || $from == '') {

Legend:
Removed from v.1.17.2.8  
changed lines
  Added in v.1.17.2.9

  ViewVC Help
Powered by ViewVC 1.1.2