Changeset 8169 for branches


Ignore:
Timestamp:
06/05/13 09:09:16 (6 years ago)
Author:
douglas
Message:

Ticket #3395 - Compatibilizar envio de e-mail atraves do Z-push em servidor SMTP externo

Location:
branches/2.5/zpush
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/zpush/backend/expresso/providers/imapProvider.php

    r8033 r8169  
    498498            // changed by mku ZP-330 
    499499  
     500            require_once(__DIR__."/../../../../library/Mail/Mail.php");  
    500501            $mail_object =& Mail::factory("smtp", $GLOBALS['config']['SMTP']);  
    501             $send = $mail_object->send($toaddr, $message->headers , $headers ."\r\n" . $body);  
     502            $send = $mail_object->send($toaddr, $message->headers , $body);  
    502503          //  $send =  @mail ( $toaddr, $message->headers["subject"], $body, $headers, $envelopefrom );  
    503504        } 
  • branches/2.5/zpush/config.php

    r8033 r8169  
    312312    define('IMAP_INLINE_FORWARD', false); 
    313313    // use imap_mail() to send emails (default) - if false mail() is used 
    314     define('IMAP_USE_IMAPMAIL', true); 
     314    define('IMAP_USE_IMAPMAIL', false); 
    315315 
    316316    define('CALENDAR_SYNC_SIGNED_CALENDARS', false);  
Note: See TracChangeset for help on using the changeset viewer.