Changeset 1899
- Timestamp:
- 12/28/09 15:47:24 (14 years ago)
- Location:
- trunk/expressoMail1_2
- Files:
-
- 3 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 } -
trunk/expressoMail1_2/inc/gotodownload.php
r1597 r1899 152 152 if ($strFileType == ".ndl") 153 153 $ContentType = "application/vnd.lotus-notes"; 154 if ($strFileType == ".eml") 155 $ContentType = "text/plain"; 154 156 155 157 header ("Content-Type: $ContentType"); -
trunk/expressoMail1_2/js/common_functions.js
r1657 r1899 575 575 var num_msg = id_msg.substr(0,(id_msg.length - 2)); 576 576 var handler_source = function(data){ 577 download_attachments(null, null, data, null,null,'fonte_da_mensagem. txt');577 download_attachments(null, null, data, null,null,'fonte_da_mensagem.eml'); 578 578 } 579 579 cExecute("$this.exporteml.export_msg",handler_source,"folder="+url_decode(folder)+"&msgs_to_export="+num_msg);
Note: See TracChangeset
for help on using the changeset viewer.