Changeset 683
- Timestamp:
- 01/10/09 12:29:42 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/autoBackup/inc/class.mail.php
r671 r683 153 153 public function getHeaders() 154 154 { 155 $exp = (!$this->utf8) ? utf8_decode($this->from) : $this->from; 156 155 157 $res = 156 'From: '.$ this->from.$this->eol.158 'From: '.$exp.$this->eol. 157 159 ((!empty($this->replyto)) ? 'Reply-To: <'.$this->replyto.'>'.$this->eol : ''). 158 160 ((!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. 160 162 'MIME-Version: 1.0'.$this->eol. 161 163 'X-Sender: <'.$_SERVER['HTTP_HOST'].'>'.$this->eol. 162 164 '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. 165 167 'Content-Type: multipart/mixed; boundary="'.$this->boundary.'"'.$this->eol; 166 168
Note: See TracChangeset
for help on using the changeset viewer.