Example #1
0
function chatxinvit($p, $nm, $to)
{
    $nm = ses('muse');
    $to = ajxg($to);
    $msg = str_replace('_NAME', $nm, helps('chatcall'));
    $url = host() . '/module/chatxml/' . $p;
    if ($to) {
        send_mail_txt($to, $msg, $url, $nm, '');
        return nms(109) . ' ' . nms(79) . 'e';
    } else {
        return nms(114);
    }
}
Example #2
0
File: lib.php Project: philum/cms
function send_mail($format, $to, $suj, $msg, $from, $url)
{
    if ($format == 'html') {
        send_mail_html($to, $suj, $msg, $from, $url);
    } else {
        send_mail_txt($to, $suj, $msg, $from, $url);
    }
}