Location: PHPKode > scripts > Email Robot > emailrobot/include/EMail/EMail.php
<?php

//==================================================
// project: EMailRobot
// version: 0.2
// author: ilya nemihin (hide@address.com)
// date: 27-aug-2002
// url: www.nemilya.narod.ru/erobot/
//==================================================

/*

abstract class EMail

*/

class EMail{

var $to;
var $from;
var $subject;
var $body;

function EMail(){
  $this->to = '';
  $this->from = '';
  $this->subject = '';
  $this->body = '';
}

  function setTo( $to ){
    $this->to = $to;
  }

  function setFrom( $from ){
    $this->from = $from;
  }

  function setSubject( $subject ){
    $this->subject = $subject;
  }

  function setBody( $body ){
    $this->body = $body;
  }

  function getTo(){
    return $this->to;
  }

  function getFrom(){
    return $this->from;
  }

  function getSubject(){
    return $this->subject;
  }

  function getBody(){
    return $this->body;
  }

}

?>
Return current item: Email Robot