ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 12053


Ignore:
Timestamp:
Jun 29, 2009, 4:35:39 PM (12 years ago)
Author:
shingo
Message:

#4032:r12052 の変更をマージ

Location:
OpenPNE/branches/stable-2.14.x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/stable-2.14.x/bin/tool_send_message_in_queue.php

    r6799 r12053  
    1818
    1919foreach ($c_message_queue_list as $c_message_queue) {
    20     db_message_insert_c_message($c_message_queue['c_member_id_from'], $c_message_queue['c_member_id_to'], $c_message_queue['subject'], $c_message_queue['body']);
    21     do_admin_send_message_mail_send($c_message_queue['c_member_id_to'], $c_message_queue['c_member_id_from']);
     20    $c_message_id = db_message_insert_c_message($c_message_queue['c_member_id_from'], $c_message_queue['c_member_id_to'], $c_message_queue['subject'], $c_message_queue['body']);
     21    do_admin_send_message_mail_send($c_message_queue['c_member_id_to'], $c_message_queue['c_member_id_from'], $c_message_queue['subject'], $c_message_queue['body'], $c_message_id);
    2222    do_admin_send_message_mail_send_ktai($c_message_queue['c_member_id_to'], $c_message_queue['c_member_id_from'], $c_message_queue['subject'], $c_message_queue['body']);
    2323
  • OpenPNE/branches/stable-2.14.x/webapp/modules/admin/lib/db_admin.php

    r11859 r12053  
    11691169        return true;
    11701170    } else {
    1171         db_message_insert_c_message($c_member_id_from, $c_member_id_to, $subject, $body);
    1172         do_admin_send_message_mail_send($c_member_id_to, $c_member_id_from, $subject, $body);
     1171        $c_message_id = db_message_insert_c_message($c_member_id_from, $c_member_id_to, $subject, $body);
     1172        do_admin_send_message_mail_send($c_member_id_to, $c_member_id_from, $subject, $body, $c_message_id);
    11731173        do_admin_send_message_mail_send_ktai($c_member_id_to, $c_member_id_from, $subject, $body);
    11741174        return true;
     
    11791179
    11801180//メッセージ受信メール(メールキュー蓄積対応)
    1181 function do_admin_send_message_mail_send($c_member_id_to, $c_member_id_from, $subject, $body)
     1181function do_admin_send_message_mail_send($c_member_id_to, $c_member_id_from, $subject, $body, $c_message_id)
    11821182{
    11831183    $c_member_to = db_member_c_member4c_member_id($c_member_id_to, true);
     
    11901190        'subject' => $subject,
    11911191        'body' => $body,
     1192        'c_message_id' => $c_message_id,
    11921193    );
    11931194    return admin_fetch_send_mail($pc_address, 'm_pc_message_zyushin', $params, $is_receive_mail);
Note: See TracChangeset for help on using the changeset viewer.