- Timestamp:
- 10/21/10 11:46:13 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoMail1_2/inc/class.imap_functions.inc.php
r3385 r3387 2027 2027 2028 2028 // Build Uploading Attachments!!! 2029 if ( (count($attachments)) && ($params['is_local_forward']!="1")) //Caso seja forward normal...2029 if (count($attachments)>0) //Caso seja forward normal... 2030 2030 { 2031 2031 $total_uploaded_size = 0; … … 2033 2033 foreach ($attachments as $attach) 2034 2034 { 2035 if($attach['name']=='Unknown') 2036 continue; 2035 2037 $mail->AddAttachment($attach['tmp_name'], $attach['name'], "base64", $this->get_file_type($attach['name'])); // optional name 2036 2038 $total_uploaded_size = $total_uploaded_size + $attach['size']; 2037 2039 } 2038 if( $total_uploaded_size > $upload_max_filesize) 2040 if( $total_uploaded_size > $upload_max_filesize){ 2039 2041 return $this->parse_error("message file too big"); 2040 } 2041 else if(($params['is_local_forward']=="1") && (count($local_attachments))) { //Caso seja forward de mensagens locais 2042 } 2043 } 2044 if(count($local_attachments)>0) { //Caso seja forward de mensagens locais 2042 2045 2043 2046 $total_uploaded_size = 0;
Note: See TracChangeset
for help on using the changeset viewer.