Changeset 5300 for trunk/expressoMail1_2/inc
- Timestamp:
- 01/03/12 14:27:29 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r5299 r5300 2585 2585 return "The server denied your request to send a mail, you cannot use this mail address."; 2586 2586 } 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 2594 2587 $toaddress = implode(',',$db->getAddrs(explode(',',$params['input_to']))); 2595 2588 $ccaddress = implode(',',$db->getAddrs(explode(',',$params['input_cc']))); 2596 2589 $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 );2604 2590 2605 2591 $toaddress = preg_replace('/<\s+/', '<', $toaddress); … … 2611 2597 $ccoaddress = preg_replace('/<\s+/', '<', $ccoaddress); 2612 2598 $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 );2620 2599 2621 2600 $replytoaddress = $params['input_replyto']; … … 2637 2616 if(substr($params['input_cco'],-1) == ',') 2638 2617 $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 );2647 2618 2648 2619 // Valida numero Maximo de Destinatarios
Note: See TracChangeset
for help on using the changeset viewer.