Changeset 1899 for trunk/expressoMail1_2/inc/class.exporteml.inc.php
- Timestamp:
- 12/28/09 15:47:24 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.exporteml.inc.php
r1802 r1899 239 239 $body = $this-> getBody($id_number); 240 240 241 $file = "source_".$_SESSION[ 'phpgw_session' ][ 'session_id' ].". txt";241 $file = "source_".$_SESSION[ 'phpgw_session' ][ 'session_id' ].".eml"; 242 242 $f = fopen($tempDir.'/'.$file,"w"); 243 243 fputs($f,$header ."\r\n\r\n". $body); … … 271 271 header('Pragma: public'); 272 272 header('Expires: 0'); // set expiration time 273 header('Content-Disposition: attachment; filename=\"fonte_da_mensagem. txt\"');?>";273 header('Content-Disposition: attachment; filename=\"fonte_da_mensagem.eml\"');?>"; 274 274 275 275 $this->connectImap(); … … 477 477 if ($strFileType == ".ndl") 478 478 $ContentType = "application/vnd.lotus-notes"; 479 if ($strFileType == ".eml") 480 $ContentType = "text/plain"; 479 481 return $ContentType; 480 482 }
Note: See TracChangeset
for help on using the changeset viewer.