public static function sendGenericEmail($email, $subject, $bodyHtml, $bodyHtmlAlt = '')
    {
        $mail = self::getNewMailer($email);
        $mail->WordWrap = 50; // Set word wrap to 50 characters
        $mail->isHTML(true); // Set email format to HTML
        $mail->Subject = $subject;
        $mail->Body = $bodyHtml;
        $mail->AltBody = $bodyHtmlAlt;
        return $mail->send();
    }