Two companies, both sending emails from same account

Hello. I’m running a self hosted instance at version 5.9.4-C160. I have two companies set up. One company uses one email account, while the other company is configured for another email account. It should be sending from [email protected] and billing at domain2.com. However, when I send test emails, both companies send only from [email protected]. Sending a test email from Company 2 should send from [email protected] but it’s instead sending from [email protected].

I have entered in the different accounts twice now to mitigate human error but the condition remains.

Hi,

Are the SMTP credentials configured on Settings > Email Settings for each company?

They are. I’m entering in different usernames/passwords under each company. The only thing is that I can’t verify them other than at data entry time because it’s masking the SMTP account name and password.

Are you using the web app or the desktop app?

Web app. I run a self-hosted instance.

It may help to test with the desktop app.

I’ve hadn’t heard other reports of this which makes me think it may be a configuration issue. If you can reproduce this as a bug feel free to create an issue on GitHub.

I just verified that the desktop application (Linux Mint snap) exhibits the same behavior.

Do you have SMTP credentials set in the .env file?

I set it originally through the web GUI.

Assuming this is the correct .env I did… /usr/share/nginx/invoiceninja$ cat .env
and I found no reference to mail SMTP server. The sections beginning with MAIL_ are set to “”.

Sorry, I’m not sure.

If you think it’s a bug you can create an issue on GitHub.