<?php

    # mark core  v1.0
    # author Drk in
    # date 24.10.19 
    
    # send mail

    class mail {

        public static function send($email, $subject, $message) {
    
        $nl = "\n";
        $headers = "Content-Type: text/html; charset=utf-8".$nl;
        $headers.= "From: admin@".domain."" . $nl . "Reply-To: admin@".domain."" . $nl;
        mail($email,'=?utf-8?B?'.base64_encode($subject).'?=',$message,$headers);    

        }

    }
?>   