Hello,
I am facing an issue with email notifications in ERPNext.
Currently, when a user adds a comment to any DocType and mentions someone (e.g., @user), the notification email is sent via the system’s Default Email Account.
I need to customize this behavior with the following logic:
-
Primary: The email should be sent from the User’s Email Account (the person who added the comment), provided their email account is configured in ERPNext.
-
Fallback: If the user’s email is not configured, the email should be sent from a specific Support Email(e.g., support@example.com), rather than the system default account.
If there is existing functionality or a configuration setting to achieve this that I have missed, please let me know. I look forward to your response.