Location: PHPKode > scripts > pop3ml > pop3ml-0-1/mlsend.php
<?php
/*
 * @(#) $Header: /var/cvsroot/pop3ml/mlsend.php,v 1.4 2009/02/19 09:04:17 cvs Exp $
 */
	require("config.php");
	if(isset($global_options['passwdfile'])) {
		require("functions.php");
	}
	require_once('class.pop3ml.php');

	$MyPop3ml = new pop3ml;
	$MyPop3ml->dbconn = &$global_options['dbconn'];
	$MyPop3ml->mltable = $global_options['mltable'];
	$MyPop3ml->messagesTable = $global_options['messagesTable'];
	$MyPop3ml->subqueue = $global_options['subqueue'];
	$MyPop3ml->queue = $global_options['queue'];
	$MyPop3ml->databaseHost = $global_options['databaseHost'];
	$MyPop3ml->databaseName = $global_options['databaseName'];
	$MyPop3ml->databaseUsername = $global_options['databaseUsername'];
	$MyPop3ml->databasePassword = $global_options['databasePassword'];

	foreach($mlinfo as $info) {
		$MyPop3ml->listname = $info['listname'];
		$MyPop3ml->run();
	}
?>
Return current item: pop3ml