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 job(s) or something else?
The server limit by the way is 100 emails / minute. Currently the last csv diff for Mail_Queue
is not applied (currently working with the support on that), so I can't use the "delay" option.
I had an idea to use the $seconds_to_send
option, but it's calculated on the base of create_time field, which isn't a big help, but it's also an option.
Any ideas and suggestions would be really appreciated.