q2a-email-notification by Amiya Sahu no longer works.
I made some changes to make it work. The basic change you need is in file qa-email-notifications-event.php:
@@ -120,18 +123,20 @@ class qa_email_notifications_event {
if ($qa_notifications_suspended > 0) return false;
require_once QA_INCLUDE_DIR . 'qa-db-selects.php';
require_once QA_INCLUDE_DIR . 'qa-util-string.php';
+ require_once QA_INCLUDE_DIR . 'app/emails.php';
$subs['^site_title'] = qa_opt('site_title');
$subs['^handle'] = $handle;
$subs['^email'] = $email;
$subs['^open'] = "\n";
$subs['^close'] = "\n";
- return $this->category_email_send_email(array(
+ return qa_send_email(array(
'fromemail' => qa_opt('from_email'),
'fromname' => qa_opt('site_title'),
'toemail' => $email,
'toname' => $handle,
'bcclist' => $bcclist,
You can also remove the category_email_send_email() function from this file.
I've made some more changes, mostly cosmetic. But I believe the above change should be sufficient to send the emails.