app\EmailAlertHandler::sendIssuedLog PHP Method

sendIssuedLog() public method

public sendIssuedLog ( Certificate $certificate )
$certificate Certificate
    public function sendIssuedLog(Certificate $certificate)
    {
        if (!$this->config->alertIssued) {
            return false;
        }
        $subject = "Certificate " . $certificate->getName() . " was issued";
        $body = "Hello,<br />\n" . " good news everyone! Certificate for " . $certificate->getName() . " was issued:<br />\n<br />\n" . nl2br($certificate->getLastLog()) . $this->append;
        return $this->email($subject, $body);
    }