Hi,
I have configured notification rules in M-Files according to the official guide (Service type: SMTP):
Notifications – M-Files User Guide
We are using a dedicated account for sending out emails, e.g. noreply@domain.com
. All emails sent from M-Files should be sent from this account.
The issue:
-
System-generated emails (for example, Object Destroyed) are sent successfully.
-
User-triggered notifications (for example, assignments) fail to send.
Error message:
Sending of the e-mail message failed. Message details: "Tried to send notification to User ID: 123, as Individual message, Event type: 18". The message was not sent.
The e-mail component returned an error: SMTP returned error.
554 5.2.252 SendAsDenied; noreply@domain.com not allowed to send as username@domain.com;
STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied;
Failed to process message due to a permanent exception.
So it looks like M-Files is trying to send as the individual user (username@domain.com
) instead of the configured sender (noreply@domain.com
).
Why is M-Files still trying to use the user’s email address as the sender for these notifications, even though I have defined a dedicated SMTP account and sender address?
And what is the correct way to configure it so that all notifications are sent from the dedicated account?