src/Checkout/OrderEmailNotifier.php
public function sendEmail($template, $subject, $copyToAdmin = true)
    {
        $email = $this->buildEmail($template, $subject);

        if ($copyToAdmin) {
            $email->setBcc(Email::config()->admin_email);
        }
        if ($this->debugMode) {
            return $this->debug($email);
        } else {
            return $email->send();
        }
    }
public function sendEmail($template, $subject, $copyToAdmin = true)
    {
        $email = $this->buildEmail($template, $subject);

        if ($copyToAdmin) {
            $email->setBcc(Email::config()->admin_email);
        }
        if ($this->debugMode) {
            return $this->debug($email);
        } else {
            return $email->send();
        }
    }
Send a mail of the order to the client (and another to the admin).

@param string $template    - the class name of the email you wish to send
@param string $subject     - subject of the email
@param bool   $copyToAdmin - true by default, whether it should send a copy to the admin

@return bool|string