notifies.php mass mailing

My mass mailing is not working and below is the error i got. Anyone help me please. Im using 6.1.4 and pasted codes from notifies.php's line 44 to 82 for quick reference. Please help.

-----------

PHP Parse error:  parse error, unexpected T_VARIABLE in /root/xxxx/xxxx.xxx/html/periodic/notifies.php on line 63

---------------

// - Begin -
if ( $MODE == '_MAIL_' )
ob_start();

$msgs_per_start = getParam( 'msgs_per_start' );

$iFullCount = (int)db_value( 'SELECT COUNT(*) FROM NotifyQueue', 0 );
if ( !$iFullCount ) exit;

echo "\n- Start email send -\n";
echo "Total queued emails: $iFullCount\n";
$total_count = ($iFullCount < $msgs_per_start ? $iFullCount : $msgs_per_start);
$total_per_query = round( $total_count / 3 ) + 1;
echo "Ready for send: ". $total_count ."\n";

if ( $iFullCount ) {
$count_ok = 0;
$err = 0;

if ( $count_ok  $total_count ) {
// Notify Messages
$nfs_res = db_res("
SELECT
NotifyQueue.Email as ID1,
NotifyQueue.Msg as ID2,
NotifyEmails.Name as Name,
NotifyEmails.Email,
NotifyMsgs.Subj,
NotifyMsgs.HTML as Body
FROM NotifyQueue
INNER JOIN NotifyMsgs ON
(NotifyMsgs.ID =  NotifyQueue.Msg)
INNER JOIN NotifyEmails ON
(NotifyEmails.ID = NotifyQueue.Email)
WHERE
NotifyQueue.`From` = 'NotifyEmails' AND
NotifyEmails.EmailFlag = 'NotifyMe'
LIMIT $total_per_query
",0 );

Quote · 22 Sep 2008

look this:

http://www.boonex.com/unity/forums/#topic/Dolphin-Mass-Email-Not-Working.htm

Quote · 1 Oct 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.