Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Saturday, October 17, 2026

Diff for mylist/backend/receiver/receiver.php between version 1.23 and 1.24

version 1.23, 2005/05/07 16:46:08 version 1.24, 2005/05/08 14:32:05
Line 1 
Line 1 
 <?php  <?php
   
 // $Platon: mylist/backend/receiver/receiver.php,v 1.22 2005/05/07 16:44:18 majo Exp $  // $Platon: mylist/backend/receiver/receiver.php,v 1.23 2005/05/07 16:46:08 majo Exp $
   
 require_once    dirname(__FILE__).'/validator.php';  require_once    dirname(__FILE__).'/validator.php';
 require_once    dirname(__FILE__).'/../../mylist.config.php';  require_once    dirname(__FILE__).'/../../mylist.config.php';
Line 214  class CReceiver {
Line 214  class CReceiver {
                 }                  }
                 else                  else
                 {                  {
                         $this->modifiedMessage->body = $this->validator->emailMessage->body;                          $this->modifiedMessage->body = $this->validator->emailMessage->all_body;
   
                         if (! $this->messageHasAttachements())                          if (! $this->messageHasAttachements())
                                 $this->emailMessage->plain_body = $this->modifiedMessage->body;                                  $this->emailMessage->plain_body = $this->modifiedMessage->body;
Line 427  class CReceiver {
Line 427  class CReceiver {
   
         function addSignature($signature,$plainbody)          function addSignature($signature,$plainbody)
         { // {{{          { // {{{
                 $old_body = $this->validator->emailMessage->body;                  $old_body = $this->validator->emailMessage->all_body;
                 $first_sign = "content-type: text/plain";                  $first_sign = "content-type: text/plain";
   
                 if (($pos=StrPos(strtolower($old_body),$first_sign)) || StrToLower($old_body[0]) == $first_sign)                  if (($pos=StrPos(strtolower($old_body),$first_sign)) || StrToLower($old_body[0]) == $first_sign)
Line 450  class CReceiver {
Line 450  class CReceiver {
   
                 // if something is wrong, return body without signature                  // if something is wrong, return body without signature
                 return $old_body;                  return $old_body;
         } // }}}          } // }}}
   
   
         function processAttachements($id,$list)          function processAttachements($id,$list)

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top