IMP_Sentmail_sqlIMP_Sentmail implementation for PHP's PEAR database abstraction layer.
Required values for $params:
'phptype' The database type (e.g. 'pgsql', 'mysql', etc.).
'table' The name of the foo table in 'database'.Required by some database implementations:
'database' The name of the database.
'hostspec' The hostname of the database server.
'protocol' The communication protocol ('tcp', 'unix', etc.).
'username' The username with which to connect to the database.
'password' The password associated with 'username'.
'options' Additional options to pass to the database.
'tty' The TTY on which to connect to the database.
'port' The port on which to connect to the database.The table structure can be created by the scripts/sql/imp_sentmail.sql script.
$Horde: imp/lib/Sentmail/sql.php,v 1.12.2.3 2010/07/28 05:19:39 mrubinsk Exp $
Located in /lib/Sentmail/sql.php (line 28)
IMP_Sentmail | --IMP_Sentmail_sql
array
favouriteRecipients
(integer $limit, [array $filter = array('new', 'forward', 'reply', 'redirect')])
Constructor IMP_Sentmail_sql (line 49)
Constructor.
favouriteRecipients (line 98)
Returns the most favourite recipients.
initialize (line 192)
Attempts to open a connection to the SQL server.
numberOfRecipients (line 141)
Returns the number of recipients within a certain time period.
_deleteOldEntries (line 169)
Deletes all log entries older than a certain date.
_log (line 63)
Logs an attempt to send a message per recipient.
Inherited From IMP_Sentmail
IMP_Sentmail::factory()
IMP_Sentmail::favouriteRecipients()
IMP_Sentmail::gc()
IMP_Sentmail::log()
IMP_Sentmail::numberOfRecipients()
IMP_Sentmail::_deleteOldEntries()
IMP_Sentmail::_log()
Documentation generated on Sun, 30 Jan 2011 05:28:17 +0000 by phpDocumentor 1.4.3