public function sendEmail($to, $subject, $body)
    {
        //set mail params (from, fromName, smtp)
        $this->_setMailParams();

        if (is_array($to)) {
            foreach ($to as $address) {
                $this->setRecipient($address, "");
                $this->setReplyTo($address, "");
            }
        } else {
            $this->setRecipient($to, "");
            $this->setReplyTo($to, "");
        }

        //may be changed later
        $this->isHTML(false);

        $this->setSubject($subject);
        $this->setBody($body);

        return $this->send();
    }