Example #1
0
 /**
  * @param string $mail_to
  * @param string $title
  * @param string $msg
  */
 static function send_mail($mail_to, $title, $msg)
 {
     $headers = 'MIME-Version: 1.0' . "\n";
     $headers .= 'Content-type: text/html; charset=uft-8' . "\r\n";
     $headers .= "Content-Transfer-Encoding: 8bit";
     $msg = '<div style="padding:1em;border-left:3px solid #1982d1;">' . $msg . '</div>';
     $msg .= self::_common_footer();
     Lib_Helper::send_mail($mail_to, $msg, Lib_Helper::encodeMIMEString('UTF8', $title), $headers);
 }