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