| 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. |
| 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]); |