/[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.13, Tue Jul 15 14:25:07 2008 UTC revision 1.87.2.14, Thu Jul 17 19:44:59 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: mailhandler.module,v 1.87.2.12 2008/07/15 14:21:21 weitzman Exp $  // $Id: mailhandler.module,v 1.87.2.13 2008/07/15 14:25:07 weitzman 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 32  function mailhandler_retrieve($mailbox) Line 32  function mailhandler_retrieve($mailbox)
32          continue;          continue;
33        }        }
34    
35        $mime = explode(',', variable_get('mime', 'TEXT/HTML,TEXT/PLAIN'));        $mime = explode(',', $mailbox['mime']);
36    
37        // Get the first text part - this will be the node body        // Get the first text part - this will be the node body
38        $origbody = mailhandler_get_part($result, $i, $mime[0]);        $origbody = mailhandler_get_part($result, $i, $mime[0]);

Legend:
Removed from v.1.87.2.13  
changed lines
  Added in v.1.87.2.14

  ViewVC Help
Powered by ViewVC 1.1.2