Changeset 41 for trunk/calendar/inc/class.bocalendar.inc.php
- Timestamp:
- 07/09/07 17:15:11 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.bocalendar.inc.php
r36 r41 2699 2699 $mail = new PHPMailer(); 2700 2700 $mail->IsSMTP(); 2701 /* 2701 2702 $mail->Host = $_SESSION['phpgw_info']['expressomail']['email_server']['smtpServer']; 2702 2703 $mail->Port = $_SESSION['phpgw_info']['expressomail']['email_server']['smtpPort']; … … 2704 2705 $mail->FromName = $_SESSION['phpgw_info']['expressomail']['user']['fullname']; 2705 2706 $mail->IsHTML(true); 2706 2707 */ 2708 $boemailadmin = CreateObject('emailadmin.bo'); 2709 $emailadmin_profile = $boemailadmin->getProfileList(); 2710 $emailadmin = $boemailadmin->getProfile($emailadmin_profile[0]['profileID']); 2711 $mail->Host = $emailadmin['smtpServer']; 2712 $mail->Port = $emailadmin['smtpPort']; 2713 $mail->From = $GLOBALS['phpgw']->preferences->values['email']; 2714 $mail->FromName = $GLOBALS['phpgw_info']['user']; 2715 $mail->IsHTML(true); 2716 2707 2717 // Aqui é enviado o email 2708 2718 foreach($to_notify as $userid => $statusid)
Note: See TracChangeset
for help on using the changeset viewer.