Changeset 117 for trunk/expressoMail1_2/inc/class.imap_functions.inc.php
- Timestamp:
- 11/28/07 14:26:51 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r115 r117 1203 1203 $mail->ConfirmReadingTo = $_SESSION['phpgw_info']['expressomail']['user']['email']; 1204 1204 //////////////////////////////////////////////////////////////////////////////////////////////////// 1205 if(!$mail->Send()) 1205 $sent = $mail->Send(); 1206 if(!$sent) 1206 1207 { 1207 1208 return $mail->ErrorInfo; … … 1209 1210 else 1210 1211 { 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 } 1211 1221 return true; 1212 1222 }
Note: See TracChangeset
for help on using the changeset viewer.