Ignore:
Timestamp:
06/20/09 01:07:18 (15 years ago)
Author:
rafaelraymundo
Message:

Ticket #558 - Adicionada funcionalidade de assinatura e criptografia de e-mails.

File:
1 edited

Legend:

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

    r1000 r1035  
    242242                imap_close($this->mbox_stream); 
    243243                return $tempDir.'/'.$file; 
     244        } 
     245 
     246    function export_msg_data($id_msg,$folder) { 
     247                $this->folder = $folder; 
     248                $this->folder = mb_convert_encoding($this->folder, "UTF7-IMAP","UTF-8"); 
     249 
     250                $this->connectImap(); 
     251                $header         = $this-> getHeader($id_msg); 
     252                $body           = $this-> getBody($id_msg); 
     253 
     254                $msg_data = $header ."\r\n\r\n". $body; 
     255 
     256                imap_close($this->mbox_stream); 
     257                return $msg_data; 
    244258        } 
    245259 
Note: See TracChangeset for help on using the changeset viewer.