BatchSend - decorator plugin

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
dillion
Forum Commoner
Posts: 56
Joined: Thu Feb 15, 2007 8:32 am

BatchSend - decorator plugin

Post by dillion »

I plan to use a cron job (in the middle of night when server is at its quietest!) to process a table in the database containing a list of records (use a mysql query to look for unsent records), how would I use the Decorator plugin if there are more than one identical email address in the table?

It might be the same subscriber but message might be different so in all cases, would like to send an email without having to rely on the email address as an identifier. Is this possible?

Also, is it possible to modify getFailedRecipients() slightly so I could add other relevant information not just email address (e.g. subscriber ID)?

Many thanks in advance!
Post Reply