Changeset 63 for trunk/expressoMail1_2/inc/class.imap_functions.inc.php
- Timestamp:
- 08/29/07 08:55:50 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r53 r63 657 657 $tag_list = Array('head','blink','object','frame', 658 658 'iframe','layer','ilayer','plaintext','script', 659 'applet','embed','frameset','xml','xmp' );659 'applet','embed','frameset','xml','xmp','style'); 660 660 661 661 $body = $this-> replace_links($body); … … 1051 1051 $attachments = $params['FILES']; 1052 1052 $forwarding_attachments = $params['forwarding_attachments']; 1053 1053 1054 $folder =$params['folder']; 1054 1055 $folder = mb_convert_encoding($folder, "UTF7-IMAP","ISO_8859-1"); … … 1142 1143 foreach($forwarding_attachments as $forwarding_attachment) 1143 1144 { 1144 $tmp_forwarding_attachment = str_replace("'", "", $forwarding_attachment); 1145 $file_description = explode(",", $tmp_forwarding_attachment); 1145 $file_description = unserialize(rawurldecode($forwarding_attachment)); 1146 foreach($file_description as $i => $descriptor){ 1147 $file_description[$i] = eregi_replace('\'*\'','',$descriptor); 1148 } 1146 1149 $fileContent = $this->get_forwarding_attachment($file_description[0], $file_description[1], $file_description[3],$file_description[4]); 1147 $fileName = rawurldecode($file_description[2]);1150 $fileName = $file_description[2]; 1148 1151 if(!array_search(trim($fileName),$name_cid_files)) { 1149 1152 $mail->AddStringAttachment($fileContent, $fileName, $file_description[4], $this->get_file_type($file_description[2]));
Note: See TracChangeset
for help on using the changeset viewer.