Changeset 5243 for trunk/mobile


Ignore:
Timestamp:
12/12/11 15:35:26 (12 years ago)
Author:
gustavo
Message:

Ticket #2375 - Verificar problema ao alternar entre a interface web/mobile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mobile/inc/class.ui_mobilemail.inc.php

    r5043 r5243  
    1414 
    1515        include_once(PHPGW_INCLUDE_ROOT.'/expressoMail1_2/inc/class.imap_functions.inc.php'); 
    16  
     16         
     17        $_SESSION['rootPath'] = PHPGW_INCLUDE_ROOT; 
     18         
    1719        // Classe principal do Mini Mail 
    1820        class ui_mobilemail{ 
     
    899901                        //Cria objeto 
    900902                        $mail = new PHPMailer(); 
    901                          
     903 
    902904                        $db_functions = CreateObject('expressoMail1_2.db_functions'); 
    903905                         
     
    906908                        $ccaddress = implode(',',$db_functions->getAddrs(explode(',',$ccaddress))); 
    907909                         
    908                         if(!$this->imap_functions->add_recipients("to", $toaddress, &$mail)) 
     910                        if(!$this->imap_functions->add_recipients("to", $toaddress, &$mail, true)) 
    909911                        { 
    910912                                $error_msg = lang("Some addresses in the To field were not recognized. Please make sure that all addresses are properly formed"); 
    911913                        } 
    912914                         
    913                         if(!$this->imap_functions->add_recipients("cc", $ccaddress, &$mail)) 
     915                        if(!$this->imap_functions->add_recipients("cc", $ccaddress, &$mail, true)) 
    914916                        { 
    915917                                $error_msg = lang("Some addresses in the CC field were not recognized. Please make sure that all addresses are properly formed"); 
Note: See TracChangeset for help on using the changeset viewer.