function HtmlMailSend($to, $subject, $mailcontent, $from) { include_once 'class.phpmailer.php'; $mail = new PHPMailer(); return $mail->HtmlMailSend($to, $subject, $mailcontent, $from); }