Ignore:
Timestamp:
11/28/07 14:26:51 (16 years ago)
Author:
niltonneto
Message:

Vide Trac no ExpressoLivre?.org, sobre a versão 1.2105

File:
1 edited

Legend:

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

    r115 r117  
    12031203                        $mail->ConfirmReadingTo = $_SESSION['phpgw_info']['expressomail']['user']['email']; 
    12041204//////////////////////////////////////////////////////////////////////////////////////////////////// 
    1205                 if(!$mail->Send()) 
     1205                $sent = $mail->Send(); 
     1206                if(!$sent) 
    12061207                { 
    12071208                        return $mail->ErrorInfo; 
     
    12091210                else 
    12101211                { 
     1212                        if($_SESSION['phpgw_info']['server']['expressomail']['expressoMail_enable_log_messages'] == "True")  
     1213                        { 
     1214                                $userid = $_SESSION['phpgw_info']['expressomail']['user']['userid']; 
     1215                                $userip = $_SESSION['phpgw_info']['expressomail']['user']['session_ip']; 
     1216                                $now = date("d/m/y H:i:s"); 
     1217                                $addrs = $toaddress.$ccaddress.$ccoaddress; 
     1218                                $sent = trim($sent);                                                                                             
     1219                                error_log("$now - $userip - $sent [$subject] - $userid => $addrs\r\n", 3, "/home/expressolivre/mail_senders.log"); 
     1220                        } 
    12111221                        return true; 
    12121222                } 
Note: See TracChangeset for help on using the changeset viewer.