Hi,
I'm using the latest stable MantisBT with the EmailReport plugin.
I have setup different from_email values for each projects. When modifying issues through the UI, the mails are sent from the correct email address.
However, when I use EmailReport, the email sent when I add a note to the issue, is sent using the global from_email, not the project specific one.
I've gone through the code and I don't think the issue is coming from EmailReport, as the only thing EmailReport is doing is calling bugnote_add() which then handles the email sending.
I've looked at how config_get() works and it seems that when sending the mail in email_shutdown, the project is not set anymore.
Any ideas ? Am I missing something or does this need to be fixed ?
Incorrect from_email value when using the mail queue.
Moderators: Developer, Contributor
Re: Incorrect from_email value when using the mail queue.
I don't have time to have a deeper look at it, but this seems to be a bug.
Please enter a report at http://www.mantisbt.org/bugs for it.
I assume we will see the same behaviour when using $g_email_send_using_cronjob = ON; and having emails from different projects in the email queue.
Please enter a report at http://www.mantisbt.org/bugs for it.
I assume we will see the same behaviour when using $g_email_send_using_cronjob = ON; and having emails from different projects in the email queue.
Re: Incorrect from_email value when using the mail queue.
I don't seem to have access to the bugtracker, shall I report as anonymous then ?
Re: Incorrect from_email value when using the mail queue.
Anonymous report is not possible.
Currently signup for new accounts is disabled due to spam attacks.
Shall I create account Growiel for you?
Currently signup for new accounts is disabled due to spam attacks.
Shall I create account Growiel for you?
Re: Incorrect from_email value when using the mail queue.
I've open the issue at http://www.mantisbt.org/bugs/view.php?id=21826 I reformated the explanation and added some additional information.
Thanks in advance for looking into it.
Thanks in advance for looking into it.