Code cleanup
authorkristianf <devnull@localhost>
Wed, 13 Aug 2014 19:12:15 +0000 (21:12 +0200)
committerkristianf <devnull@localhost>
Wed, 13 Aug 2014 19:12:15 +0000 (21:12 +0200)
emailclass.inc.php

index 888c355..50526b4 100644 (file)
@@ -1,6 +1,5 @@
 <?  
  define("GPG_SYMMETRIC" ,1);
- define("GPG_ASSYMETRIC",2); //deprecated, spelling error, kept for backwards-compatibility
  define("GPG_ASYMMETRIC",2);
  
  class sendmail_base
     else{array_push($arr, $add);}
   }
 
-  public function from($email){$this->from = $email;}
-  public function subject($text){$this->subject = $text;}  
-  public function add_to($email){$this->add_element($this->to,$email);}
-  public function add_cc($email){$this->add_element($this->cc,$email);}
-  public function add_bcc($email){$this->add_element($this->bcc,$email);}  
-  public function body($content){$this->body .= $content;}
-  public function debug(){$this->debug=1;}
+  public function from($email)
+  {
+       $this->from = $email;
+  }
+  
+  public function subject($text)
+  {
+       $this->subject = $text;
+  }  
+  
+  public function add_to($email)
+  {
+       $this->add_element($this->to,$email);
+  }
+  
+  public function add_cc($email)
+  {
+       $this->add_element($this->cc,$email);
+  }
+
+  public function add_bcc($email)
+  {
+       $this->add_element($this->bcc,$email);
+  }
+  
+  public function body($content)
+  {
+       $this->body .= $content;
+  }
+
+  public function debug()
+  {
+       $this->debug=1;
+  }
   
   protected function getmimetype($name)
   {