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

Diff of /contributions/modules/mailhandler/mailhandler.module

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

revision 1.87.2.18, Thu Dec 25 13:01:20 2008 UTC revision 1.87.2.19, Thu Dec 25 13:04:10 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: mailhandler.module,v 1.87.2.17 2008/09/17 16:29:36 heine Exp $  // $Id: mailhandler.module,v 1.87.2.18 2008/12/25 13:01:20 zstolar Exp $
3    
4  /**  /**
5   * Retrieve all msgs from a given mailbox and process them.   * Retrieve all msgs from a given mailbox and process them.
# Line 428  function mailhandler_user_load($mail, $p Line 428  function mailhandler_user_load($mail, $p
428   * If available, use the mail header specified in mailbox config. otherwise use From: header   * If available, use the mail header specified in mailbox config. otherwise use From: header
429   */   */
430  function mailhandler_get_fromaddress($header, $mailbox) {  function mailhandler_get_fromaddress($header, $mailbox) {
431    if ($fromheader = strtolower($mailbox['fromheader']) && isset($header->$fromheader)) {    if (($fromheader = strtolower($mailbox['fromheader'])) && isset($header->$fromheader)) {
432      $from = $header->$fromheader;      $from = $header->$fromheader;
433    }    }
434    else {    else {

Legend:
Removed from v.1.87.2.18  
changed lines
  Added in v.1.87.2.19

  ViewVC Help
Powered by ViewVC 1.1.2