Changeset 8168 for trunk


Ignore:
Timestamp:
06/04/13 18:52:09 (10 years ago)
Author:
douglas
Message:

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

Location:
trunk/zpush
Files:
2 edited

Legend:

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

    r8131 r8168  
    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        } 
  • trunk/zpush/config.php

    r8027 r8168  
    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.