Ignore:
Timestamp:
05/25/10 15:06:34 (14 years ago)
Author:
rafaelraymundo
Message:

Ticket #1061 - Corrigidos para exibir dados do certificado qdo. msg assinada

File:
1 edited

Legend:

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

    r2844 r2853  
    219219                $head_array['attachment'] = $imap_attachment->get_attachment_headerinfo($this->mbox, $msg_number); 
    220220 
     221                if($head_array['ContentType'] =='normal') return $head_array; 
     222 
     223                include_once("class.message_components.inc.php"); 
     224                $msg = &new message_components($this->mbox); 
     225                $msg->fetch_structure($msg_number); 
     226                if(!$this->has_cid) 
     227                { 
     228                        $head_array['signature'] = $this->get_signature($msg,$msg_number,$this->mbox); 
     229                } 
    221230                return $head_array; 
    222231        } 
     
    12771286                { 
    12781287            $sign = array(); 
    1279                         $temp = $this->get_info_head_msg($msg_number); 
    1280                         if($temp['ContentType'] =='normal') return $sign; 
    12811288                        $file_type = strtolower($file_type); 
    12821289                        if(strtolower($msg->encoding[$msg_number][$index]) == 'base64') 
Note: See TracChangeset for help on using the changeset viewer.