Dotclear

Changeset 683


Ignore:
Timestamp:
01/10/09 12:29:42 (14 years ago)
Author:
Tomtom33
Message:

Try to fix ticket #23. Let's do this and tell me franck

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/autoBackup/inc/class.mail.php

    r671 r683  
    153153     public function getHeaders() 
    154154     { 
     155          $exp = (!$this->utf8) ? utf8_decode($this->from) : $this->from; 
     156 
    155157          $res =  
    156                'From: '.$this->from.$this->eol. 
     158               'From: '.$exp.$this->eol. 
    157159               ((!empty($this->replyto)) ? 'Reply-To: <'.$this->replyto.'>'.$this->eol : ''). 
    158160               ((!empty($this->date)) ? 'Date: '.$this->date.$this->eol : 'Date: '.date("r").$this->eol). 
    159                'Return-Path: '.$this->from.'>'.$this->eol. 
     161               'Return-Path: '.$exp.'>'.$this->eol. 
    160162               'MIME-Version: 1.0'.$this->eol. 
    161163               'X-Sender: <'.$_SERVER['HTTP_HOST'].'>'.$this->eol. 
    162164               'X-Mailer: PHP v'.phpversion().$this->eol. 
    163                'X-auth-smtp-user: '.$this->from.' '.$this->eol. 
    164                'X-abuse-contact: '.$this->from.' '.$this->eol. 
     165               'X-auth-smtp-user: '.$exp.' '.$this->eol. 
     166               'X-abuse-contact: '.$exp.' '.$this->eol. 
    165167               'Content-Type: multipart/mixed; boundary="'.$this->boundary.'"'.$this->eol; 
    166168 
Note: See TracChangeset for help on using the changeset viewer.

Sites map