Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Q2A Core by
Hello !

I'm integrating Q2A with single sign-on. To perform that, I use an iFrame that displays the Q2A component and a GET method to have the user logged in (with mail, user ID,etc...)

This works well, but I have noticed a problem : when for example User A asks a question, and user B answers it, user B receives the mail notification for "new answer to your question" !

So I'm asking you where in the code is the script that prepares the mail, and how could I fix it... Or it is a problem with the external users feature ?

Or maybe it's normal ? But for me this is not logical at all...

Thanks !
Q2A version: 1.7

1 Answer

0 votes
The code that sends email is the qa_send_notification function in qa-include/app/emails.php

It can also be overridden with an override plugin.