$DATA['points'] = getPaymentPoints($DATA['payment_id'], 'payment');
// Load message template
- $mailText = loadEmailTemplate('normal-mail', $DATA, bigintval($userid));
+ $mailText = loadEmailTemplate('member_user_pool_normal', $DATA, bigintval($userid));
// Send mail away
sendEmail(getUserData('email'), $DATA['subject'], $mailText, $isHtml);
);
// Yes we do, so we notify admin and sender about fully sent mail!
- sendAdminNotification('{--ADMIN_SEND_DONE_SUBJECT--}', 'done-admin', $content, $userid);
+ sendAdminNotification('{--ADMIN_SEND_DONE_SUBJECT--}', 'admin_user_pool_done', $content, $userid);
// Get sender's data
if (fetchUserData($DATA['sender_userid'])) {
// Load email template
- $mailText = loadEmailTemplate('done-member', $content, $DATA['sender_userid']);
+ $mailText = loadEmailTemplate('member_user_pool_done', $content, $DATA['sender_userid']);
// Send it also waway
sendEmail(getUserData('email'), '{--MEMBER_SEND_DONE_SUBJECT--}', $mailText);
// We have to pay back some points to the sender (we add them directly :-P)
if (fetchUserData($userid)) {
// User account does exists, so we can safely pay back!
- $mailText = loadEmailTemplate('back-member', $content, bigintval($userid));
+ $mailText = loadEmailTemplate('member_user_pool_back', $content, bigintval($userid));
// Send mail out to member
sendEmail(getUserData('email'), '{--MEMBER_BACK_JACKPOT--}' . ' (' . $userid . ')', $mailText);
addPointsToJackpot($PB);
// Send mail out to admin
- sendAdminNotification('{--ADMIN_BACK_JACKPOT--}' . ' (' . $userid . ')', 'back-admin', $content, 'admin');
+ sendAdminNotification('{--ADMIN_BACK_JACKPOT--}' . ' (' . $userid . ')', 'admin_user_pool_back', $content, 'admin');
}
} // END - if
} // END - foreach