Changeset 1376


Ignore:
Timestamp:
08/28/09 11:16:42 (15 years ago)
Author:
rodsouza
Message:

Ticket #528 - Alterado o campo do 'header' utilizado em 'From'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.imap_functions.inc.php

    r1375 r1376  
    162162                $from = $header->from; 
    163163                $head_array['from'] = array(); 
    164                 $tmp = imap_mime_header_decode($from[0]->personal); 
    165                 $head_array['from']['name'] = $this->decode_string($tmp[0]->text); 
     164                $head_array['from']['name'] = $this->decode_string( trim( $header -> fetchfrom ) ); 
    166165                $head_array['from']['email'] = $this->decode_string($from[0]->mailbox) . "@" . $from[0]->host; 
    167166                if(!$head_array['from']['name']) 
Note: See TracChangeset for help on using the changeset viewer.