Changeset 5300


Ignore:
Timestamp:
01/03/12 14:27:29 (12 years ago)
Author:
gustavo
Message:

Ticket #2410 - Permitir enviar email para grupos, o mesmo esta com erro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.imap_functions.inc.php

    r5299 r5300  
    25852585                                return "The server denied your request to send a mail, you cannot use this mail address."; 
    25862586                } 
    2587 ob_start(); 
    2588 print_r( "=== LOG BEGIN 1===" . "\n" ); 
    2589 print_r( var_export($params['input_to'])  . "\n" ); 
    2590 print_r( "=== LOG END ===" . "\n" ); 
    2591 $output = ob_get_clean(); 
    2592 file_put_contents( '/tmp/log-gustavo2.txt', file_get_contents( '/tmp/log-gustavo2.txt' ) . $output ); 
    2593  
    25942587                $toaddress = implode(',',$db->getAddrs(explode(',',$params['input_to']))); 
    25952588                $ccaddress = implode(',',$db->getAddrs(explode(',',$params['input_cc']))); 
    25962589                $ccoaddress = implode(',',$db->getAddrs(explode(',',$params['input_cco']))); 
    2597  
    2598 ob_start(); 
    2599 print_r( "=== LOG BEGIN 2===" . "\n" ); 
    2600 print_r( $toaddress  . "\n" ); 
    2601 print_r( "=== LOG END ===" . "\n" ); 
    2602 $output = ob_get_clean(); 
    2603 file_put_contents( '/tmp/log-gustavo2.txt', file_get_contents( '/tmp/log-gustavo2.txt' ) . $output ); 
    26042590 
    26052591                $toaddress  = preg_replace('/<\s+/', '<', $toaddress);                   
     
    26112597                $ccoaddress = preg_replace('/<\s+/', '<', $ccoaddress); 
    26122598                $ccoaddress = preg_replace('/\s+>/', '>', $ccoaddress); 
    2613  
    2614 ob_start(); 
    2615 print_r( "=== LOG BEGIN 3===" . "\n" ); 
    2616 print_r( $toaddress  . "\n" ); 
    2617 print_r( "=== LOG END ===" . "\n" ); 
    2618 $output = ob_get_clean(); 
    2619 file_put_contents( '/tmp/log-gustavo2.txt', file_get_contents( '/tmp/log-gustavo2.txt' ) . $output ); 
    26202599                 
    26212600                $replytoaddress = $params['input_replyto']; 
     
    26372616                if(substr($params['input_cco'],-1) == ',') 
    26382617                    $params['input_cco'] = substr($params['input_cco'],0,-1); 
    2639                  
    2640  
    2641                                 ob_start(); 
    2642 print_r( "=== LOG BEGIN 3===" . "\n" ); 
    2643 print_r( $toaddress  . "\n" ); 
    2644 print_r( "=== LOG END ===" . "\n" ); 
    2645 $output = ob_get_clean(); 
    2646 file_put_contents( '/tmp/log-gustavo2.txt', file_get_contents( '/tmp/log-gustavo2.txt' ) . $output ); 
    26472618 
    26482619                // Valida numero Maximo de Destinatarios  
Note: See TracChangeset for help on using the changeset viewer.