Well i've been into the code and found out why this does not work as expected
When using the MantisBT web interface it's only possible to register one issue/note at a time. Therefore the project in question is registered the whole time during that time
EmailReporting on the other hand is capable of registering multiple issues/notes in a single run in any number of projects
project_override is only active while registering a single issue/note and reset after completion of that single issue/note
MantisBT triggers the sending of emails using a shutdown function which triggers at the end of script. So when EmailReporting is completely finished and has already reset the project_override
http://php.net/manual/en/function.regis ... nction.php
Now to get the behavior you want i would have to trigger a send for emails every time EmailReporting processes a single email.
I'm against making the necessary required changes since it could result in EmailReporting making multiple connections to a mail server in quick succession to send the email(s) and possibly trigger all kinds of spam protection mechanismes
But i will show you how you can fix this (not tested)
Before this line:
https://github.com/mantisbt-plugins/Ema ... .php#L1118
Add
Keep in mind that you will have to re-add this line every time you update EmailReporting in the future
As I've yet to receive the reason you want this i feel that this modification is, in the end, useless. I advise you don't make the above modification but thats up to you