/** * Constructs an empty ezcMailComposer object. * * @param ezcMailComposerOptions $options */ public function __construct(ezcMailComposerOptions $options = null) { $this->properties['plainText'] = null; $this->properties['htmlText'] = null; $this->properties['charset'] = 'us-ascii'; $this->properties['encoding'] = ezcMail::EIGHT_BIT; if ($options === null) { $options = new ezcMailComposerOptions(); } $this->options = $options; parent::__construct(); }