Exemple #1
0
function send_remind($snt, $msg)
{
    $mail = get_email_conf();
    $emails = array_map(function ($id) {
        return get_member_email($id);
    }, $snt["who"]);
    send_mail('plain', $mail["from"], $emails, 'Show & Tell Order Remind', $msg);
}
Exemple #2
0
function send_commenter($snt, $commenter_info, $msg)
{
    $all = array();
    foreach ($commenter_info as $speaker => $commenters) {
        array_push($all, $speaker);
        foreach ($commenters as $commenter) {
            array_push($all, $commenter);
        }
    }
    if (!in_array($snt["chair"], $all)) {
        array_push($all, $snt["chair"]);
    }
    $all_email = array_map("get_member_email", $all);
    $mail = get_email_conf();
    send_mail('plain', $mail["from"], $all_email, 'Show & Tell Commenter Notice', $msg);
}
Exemple #3
0
function send($msg)
{
    $mail = get_email_conf();
    send_mail('html', $mail["from"], $mail["to"], '우리들의 코멘트(comments on S&T memos)', $msg);
}
Exemple #4
0
function send_notice($is_fst, $snt, $msg)
{
    $mail = get_email_conf();
    send_mail('plain', $mail["from"], $mail["to"], 'Show & Tell Notice', $msg);
}