Ignore:
Timestamp:
05/19/11 13:38:13 (13 years ago)
Author:
airton
Message:

Ticket #1991 - Parametrizacao das buscas LDAP no ExpressoMail?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.2.0.2/expressoMail1_2/inc/class.exporteml.inc.php

    r4416 r4457  
    200200                        if (count($array_ids)==1)  
    201201                        {  
    202                                 $sEMLData=$imapf->treat_base64_from_post($array_mesgs[$i]);  
    203                                 $fileName=$this->CreateFileEml($sEMLData, $tempDir,'',$array_subjects[$i],$i);  
     202                                $sEMLData=$imapf->treat_base64_from_post($array_mesgs[0]);  
     203                                $fileName=$this->CreateFileEml($sEMLData, $tempDir,'',$array_subjects[0],"offline");  
    204204                                return $tempDir.'/'.$fileName;  
    205205                        } 
     
    304304                $body           = $this-> getBody($id_number); 
    305305                 
    306                 $file = "source_".$_SESSION[ 'phpgw_session' ][ 'session_id' ]."_".time().".php"; //source_[sessao]_[timestamp].php 
     306                $file = "source_".$_SESSION[ 'phpgw_session' ][ 'session_id' ].".php"; 
    307307                $f = fopen($tempDir.'/'.$file,"w"); 
    308308                fputs($f,$header ."\r\n\r\n". $body); 
     
    338338                $name = md5($_SESSION[ 'phpgw_session' ][ 'session_id' ].microtime()); 
    339339                 
    340                 $file = $_SESSION[ 'phpgw_session' ][ 'session_id' ].$name; 
    341                 $f = fopen($tempDir . '/'.$file,"w"); 
     340                //$file = $_SESSION[ 'phpgw_session' ][ 'session_id' ].$name; 
     341                $file = "source_".$_SESSION[ 'phpgw_session' ][ 'session_id' ]."_".time().".php"; //source_[sessao]_[timestamp].php  
     342                $f = fopen($tempDir . '/'.$file,"w"); 
    342343                fputs($f,utf8_encode($header) ."\r\n\r\n". utf8_encode($body)); 
    343344                fclose($f);  
Note: See TracChangeset for help on using the changeset viewer.