Here's a couple of questions:
Is mail_queue->put supposed to insert a message twice in the database? The only differences are the time_to_send value and the user_id.
This is what I get for a single message for one user:
1. user_id = 1, time_to_send = 2009-02-10 14:02:02
2. user_id = -1, time_to_send = 2009-02-10 14:00:02
The first o...
I have a cron which generates the whole mail info and puts in a database table using $mail_queue->put(.....) with an option to delete emails after they're sent.
Here's where I need a little help: What is the best way to send the emails after I have the above info? Running the $mail_queue->sendMailsInQueue() right away, using other cron ...
I want to use the PEAR Mail_queue package which requires the PEAR MDB2 package for database abstraction.
I currently use MySQLi for all my database queries and dont really desire using MDB2.
Would it be bad practice to use both MDB2 and MySQLi in my PHP applications at the same time?
Can anyone give me a good reason to use MDB2 over ...
I am trying to implement a system where emails to large (or small) groups of people are scheduled to be delivered by a cron job (instead of in a loop, while the user is waiting for them to finish sending).
There are two types of email a user could send: an email to everyone in the subscribers table, or an email only to members of a grou...
Is there a pear mail queue reporting script that builds pretty charts and graphs from your MQ database? I have MQ set up on a cron job and I want to tie some reporting into my admin console.
...
So, I have set up the PEAR Mail_queue package on my server, and I have it running fine, and sending emails out. I have it set to run by a cron-job every 15 minutes.
Everything works fine, except the problem is that I need to send emails in Chinese, and when I send them using the Mail_queue package, I only get gibberish. I'm assuming that...
I'm getting the following error when trying to use the PHP Mail_Queue PEAR library:
Declaration of Mail_Queue::isError() should be compatible with that of PEAR::isError()
PHP 5.2.3, Mail Queue Version 1.2.3
Searching on Google hasn't turned up anything. Any ideas what's causing this?
...