Ignore:
Timestamp:
07/09/07 17:15:11 (17 years ago)
Author:
niltonneto
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/calendar/inc/class.bocalendar.inc.php

    r36 r41  
    26992699                        $mail = new PHPMailer(); 
    27002700                        $mail->IsSMTP(); 
     2701                        /* 
    27012702                        $mail->Host = $_SESSION['phpgw_info']['expressomail']['email_server']['smtpServer']; 
    27022703                        $mail->Port = $_SESSION['phpgw_info']['expressomail']['email_server']['smtpPort']; 
     
    27042705                        $mail->FromName = $_SESSION['phpgw_info']['expressomail']['user']['fullname']; 
    27052706                        $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 
    27072717                        // Aqui é enviado o email 
    27082718                        foreach($to_notify as $userid => $statusid)  
Note: See TracChangeset for help on using the changeset viewer.