- $msg = LOAD_EMAIL_TEMPLATE("member_beg", $points, bigintval($uid));
- SEND_EMAIL($email, BEG_MONTHLY_RALLYE, $msg);
- }
-
- // Remove first commata
- $UIDs = substr($UIDs, 1);
-
- // Get current month
- $curr = date("m", time());
- if (strlen($curr) == 1) $curr = "0".$curr;
- if ($curr == "00") $curr = "12";
+ $message = loadEmailTemplate('member_beg', $content, bigintval($content['userid']));
+ sendEmail($content['email'], '{--BEG_MONTHLY_RALLYE--}', $message);
+ } // END - while