In my recent ERPNext v12 instance, I have 2 email domains set up with one account on each domain.
One account is meant for bulk emails and notifications, so it’s configured accordingly as “Default Outgoing”. Let’s call this my notifications account. Incoming emails are disabled. This seems to work fine, notifications are sent as expected.
The other account is a mailbox for ERP related messages sent by a user with the expectation that he may get a reply. Let’s call this my IMAP account. It’s an entirely different server than the SMTP account. Both outgoing and incoming communication is accepted on this account.
In my user’s settings, both accounts are enabled so I can choose from which to send an email.
Unfortunately, this doesn’t work as expected. First of all, incoming emails from the IMAP account work fine, they arrive in the communications list. When I reply or create a new email from the communications document and choose the email address connected to the IMAP account, this also seemingly works fine, the email is in fact sent.
However, as it turned out, these emails are always sent from the notifications account, even if I specifically choose the IMAP account.
This can easily be verified from the communications document that is associated with the email. Under reference, it indeed confirms that the email was sent form the wrong account.
Since there really isn’t anything else I can configure, I believe this is a bug. Which surprises me, after all, ERPNext v12 has been in use for a while now and I couldn’t find any other references to this bug.
That’s why I thought I’ll put this up for discussion first. Can anyone else confirm this behavior? Or on the contrary, confirm it doesn’t exist for them?