| version 1.17, 2005/05/02 20:46:50 |
version 1.18, 2005/05/06 20:18:44 |
|
|
| <?php |
<?php |
| |
|
| // $Platon: mylist/backend/receiver/receiver.php,v 1.16 2005/05/02 19:45:19 majo Exp $ |
// $Platon: mylist/backend/receiver/receiver.php,v 1.17 2005/05/02 20:46:50 rajo 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 194 class CReceiver { |
|
| Line 194 class CReceiver { |
|
| |
|
| if ($row["f_append_sig"]) |
if ($row["f_append_sig"]) |
| { |
{ |
| |
$signature = "\n_______________________________________________________________________________\n".$row["signature"]; |
| if (! $this->messageHasAttachements()) |
if (! $this->messageHasAttachements()) |
| { |
{ |
| $this->modifiedMessage->body = $this->validator->emailMessage->body."\n_______________________________________________________________________________\n".$row["signature"]; |
$this->modifiedMessage->body = $signature; |
| |
|
| $this->emailMessage->plain_body = $this->modifiedMessage->body; |
$this->emailMessage->plain_body = $this->modifiedMessage->body; |
| } |
} |
| Line 204 class CReceiver { |
|
| Line 205 class CReceiver { |
|
| { |
{ |
| // the message has attachements |
// the message has attachements |
| $plainbody = $this->getPlainBodyText(); |
$plainbody = $this->getPlainBodyText(); |
| $finalbody = $this->addSignature($row["signature"],$plainbody); |
$finalbody = $this->addSignature($signature,$plainbody); |
| $this->modifiedMessage->body = $finalbody; |
$this->modifiedMessage->body = $finalbody; |
| $this->emailMessage->plain_body = $plainbody."\r\n".$row["signature"]; |
$this->emailMessage->plain_body = $plainbody."\r\n".$row["signature"]; |
| |
|