possible to extend the batchSend() method?
Posted: Sat Apr 26, 2008 4:54 pm
I don't really know my terminology here...
But since batchSend() returns an integer.. is there an internal counter involved? Like a class member updated? If so, would it be possible (or easily doable, or even fathomable, etc..) to write a listener for it to get realtime browser updates on how many emails have been sent?
In psuedo code, something like..
But since batchSend() returns an integer.. is there an internal counter involved? Like a class member updated? If so, would it be possible (or easily doable, or even fathomable, etc..) to write a listener for it to get realtime browser updates on how many emails have been sent?
In psuedo code, something like..
Code: Select all
while ($numSent = $swift->batchSendListen($message, $recipients, $from))
{
echo $numSent . '<br />';
}