/[dolibarr]/dolibarr/htdocs/lib/CMailFile.class.php
ViewVC logotype

Diff of /dolibarr/htdocs/lib/CMailFile.class.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by eldy, Sat Sep 10 16:07:40 2005 UTC revision 1.19 by eldy, Mon Oct 17 16:58:15 2005 UTC
# Line 216  class CMailFile Line 216  class CMailFile
216      */      */
217      function write_body($msgtext, $filename_list)      function write_body($msgtext, $filename_list)
218      {      {
219            $out='';
220          if (count($filename_list))          if (count($filename_list))
221          {          {
222              $out = "--" . $this->mime_boundary . "\n";              $out = "--" . $this->mime_boundary . "\n";
# Line 257  class CMailFile Line 258  class CMailFile
258          $out .= "Return-path: <$this->addr_from_email>\n";          $out .= "Return-path: <$this->addr_from_email>\n";
259          $out .= "From: $this->addr_from_name <".$this->addr_from_email.">\n";          $out .= "From: $this->addr_from_name <".$this->addr_from_email.">\n";
260    
261          if ($this->addr_cc)  $out .= "Cc: ".$this->addr_cc."\n";          if (isset($this->addr_cc)  && $this->addr_cc)  $out .= "Cc: ".$this->addr_cc."\n";
262          if ($this->addr_bcc) $out .= "Bcc: ".$this->addr_bcc."\n";          if (isset($this->addr_bcc) && $this->addr_bcc) $out .= "Bcc: ".$this->addr_bcc."\n";
263          if ($this->reply_to) $out .= "Reply-To: ".$this->reply_to."\n";          if (isset($this->reply_to) && $this->reply_to) $out .= "Reply-To: ".$this->reply_to."\n";
264          //    if($this->errors_to != "")          //    if($this->errors_to != "")
265          //$out = $out . "Errors-to: ".$this->errors_to."\n";          //$out = $out . "Errors-to: ".$this->errors_to."\n";
266    

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26