Overview

Packages

  • Jyxo_Beholder
  • Jyxo_Charset
  • Jyxo_Color
  • Jyxo_Css
  • Jyxo_ErrorHandling
  • Jyxo_FirePhp
  • Jyxo_Gettext
    • Parser
  • Jyxo_Html
  • Jyxo_Input
    • Chain
    • Filter
    • Validator
  • Jyxo_Mail
    • Email
    • Parser
    • Sender
  • Jyxo_Rpc
    • Json
    • Xml
  • Jyxo_Shell
  • Jyxo_SpamFilter
  • Jyxo_Spl
  • Jyxo_String
  • Jyxo_Svn
  • Jyxo_Time
  • Jyxo_Timer
  • Jyxo_Webdav
  • Jyxo_XmlReader
  • PHP

Classes

  • Jyxo_Mail_Sender
  • Jyxo_Mail_Sender_Result
  • Jyxo_Mail_Sender_Smtp

Exceptions

  • Jyxo_Mail_Sender_CreateException
  • Jyxo_Mail_Sender_Exception
  • Jyxo_Mail_Sender_RecipientUnknownException
  • Jyxo_Mail_Sender_SmtpException
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  1: <?php
  2: 
  3: /**
  4:  * Jyxo PHP Library
  5:  *
  6:  * LICENSE
  7:  *
  8:  * This source file is subject to the new BSD license that is bundled
  9:  * with this package in the file license.txt.
 10:  * It is also available through the world-wide-web at this URL:
 11:  * https://github.com/jyxo/php/blob/master/license.txt
 12:  */
 13: 
 14: /**
 15:  * Sending result.
 16:  *
 17:  * @category Jyxo
 18:  * @package Jyxo_Mail
 19:  * @subpackage Sender
 20:  * @copyright Copyright (c) 2005-2011 Jyxo, s.r.o.
 21:  * @license https://github.com/jyxo/php/blob/master/license.txt
 22:  * @author Jaroslav HanslĂ­k
 23:  */
 24: class Jyxo_Mail_Sender_Result extends Jyxo_Spl_Object
 25: {
 26:     /**
 27:      * Email Id.
 28:      *
 29:      * @var string
 30:      */
 31:     private $messageId = '';
 32: 
 33:     /**
 34:      * Email source.
 35:      *
 36:      * @var string
 37:      */
 38:     private $source = '';
 39: 
 40:     /**
 41:      * Sending time.
 42:      *
 43:      * @var Jyxo_Time_Time
 44:      */
 45:     private $datetime = null;
 46: 
 47:     /**
 48:      * Returns email Id.
 49:      *
 50:      * @return string
 51:      */
 52:     public function getMessageId()
 53:     {
 54:         return $this->messageId;
 55:     }
 56: 
 57:     /**
 58:      * Sets email Id.
 59:      *
 60:      * @param string $messageId Email Id
 61:      * @return Jyxo_Mail_Sender_Result
 62:      */
 63:     public function setMessageId($messageId)
 64:     {
 65:         $this->messageId = (string) $messageId;
 66: 
 67:         return $this;
 68:     }
 69: 
 70:     /**
 71:      * Returns email source.
 72:      *
 73:      * @return string
 74:      */
 75:     public function getSource()
 76:     {
 77:         return $this->source;
 78:     }
 79: 
 80:     /**
 81:      * Sets email source.
 82:      *
 83:      * @param string $source
 84:      * @return Jyxo_Mail_Sender_Result
 85:      */
 86:     public function setSource($source)
 87:     {
 88:         $this->source = (string) $source;
 89: 
 90:         return $this;
 91:     }
 92: 
 93:     /**
 94:      * Returns sending time.
 95:      *
 96:      * @return Jyxo_Time_Time
 97:      */
 98:     public function getDatetime()
 99:     {
100:         return $this->datetime;
101:     }
102: 
103:     /**
104:      * Sets sending time.
105:      *
106:      * @param Jyxo_Time_Time $datetime Sending time
107:      * @return Jyxo_Mail_Sender_Result
108:      */
109:     public function setDatetime(Jyxo_Time_Time $datetime)
110:     {
111:         $this->datetime = $datetime;
112: 
113:         return $this;
114:     }
115: }
116: 
Jyxo PHP Library API documentation generated by ApiGen 2.3.0