I am currently developing a plugin that sends out questions from yesterday to users that have tags of those questions favorited.
In a foreach() I am directly calling:
qa_send_email(array(
'fromemail' => qa_opt('mailing_from_email'),
'fromname' => qa_opt('mailing_from_name'),
'toemail' => $userinfo['email'],
'toname' => $userinfo['handle'],
'subject' => $mailsubject,
'body' => trim($emailbody),
'html' => true,
));
From q2a core mass mailing I have seen that gidgreen implemented kind of mail buffer which sends out emails step by step (bunch of 100 or so).
Questions:
1. Do I have to do the same buffer mailing?
Currently I have only 150 users in the forum. What if I would have 15000?
2. Can I just stick to qa_send_email() without any concerns?
Would be nice if somebody can give advice for me and the others!
Thank you
Kai