- Timestamp:
- 05/22/12 10:53:09 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/expressoMail1_2/inc/class.imap_functions.inc.php
r5873 r6264 360 360 //reconstrói o email 361 361 $email = implode("", file($params['FILES'][0]['tmp_name'])); 362 $email = preg_replace('/(?<!\r)\n/', "\r\n", $email); 362 363 //coloca o email na pasta selecionada 363 364 $status = @imap_append($this->mbox, $folder, $email); … … 4180 4181 $timestamps = explode("#@#@#@",$params['timestamp']); 4181 4182 $flags = explode("#@#@#@",$params['flags']); 4183 $ids = explode("#@#@#@",$params['id']); 4184 $return = array(); 4182 4185 4183 4186 foreach($sources as $index=>$src) … … 4187 4190 $source = $this->treat_base64_from_post($src); 4188 4191 $insert = $this->insert_email($source,$dest_folder,$timestamps[$index],$flags[$index]); 4192 if(!$insert['error']) 4193 $return[] = $ids[$index]; 4189 4194 } 4190 4195 } 4191 4196 4192 return $ insert;4197 return $return; 4193 4198 } 4194 4199
Note: See TracChangeset
for help on using the changeset viewer.