Esempio n. 1
0
 /**
  * Constructs an object with the specified values.
  *
  * @throws ezcBasePropertyNotFoundException
  *         if $options contains a property not defined
  * @throws ezcBaseValueException
  *         if $options contains a property with a value not allowed
  * @param array(string=>mixed) $options
  */
 public function __construct(array $options = array())
 {
     $this->connectionType = ezcMailSmtpTransport::CONNECTION_PLAIN;
     // default is plain connection
     $this->connectionOptions = array();
     // default is no extra connection options
     $this->preferredAuthMethod = null;
     // default is to try the AUTH methods supported by the SMTP server
     parent::__construct($options);
 }
Esempio n. 2
0
 /**
  * Constructs an object with the specified values.
  *
  * @throws ezcBasePropertyNotFoundException
  *         if $options contains a property not defined
  * @throws ezcBaseValueException
  *         if $options contains a property with a value not allowed
  * @param array(string=>mixed) $options
  */
 public function __construct(array $options = array())
 {
     $this->uidReferencing = false;
     parent::__construct($options);
 }
Esempio n. 3
0
 /**
  * Constructs an object with the specified values.
  *
  * @throws ezcBasePropertyNotFoundException
  *         if $options contains a property not defined
  * @throws ezcBaseValueException
  *         if $options contains a property with a value not allowed
  * @param array(string=>mixed) $options
  */
 public function __construct(array $options = array())
 {
     // default authentication method is PLAIN
     $this->authenticationMethod = ezcMailPop3Transport::AUTH_PLAIN_TEXT;
     parent::__construct($options);
 }