Changing the from address in sharing email in SharePoint 2016

Copper Contributor

In SharePoint 2016, When we share a document with other users, SharePoint send the sharing email to the users with the link of the item. In that email, from address is the user's own address ( which shared the document) and to address is end user's address.

But when we setup alerts in SharePoint, it send the email using the email address which we set in the outgoing email settings.

Now problem is, Alert email pass through our exchange relay but sharing emails blocked due to company policy.

Is there any workaround which force SharePoint to send the email always using the generic email address not user's own email address. Any powershell script or SMTP related configuration on SharePoint side only.

2 Replies
I've discussed this with Waqas in another forum, so just a heads up for anyone else. This is actually hard coded functionality, the only way to work around it is to send to a Receive Connector that accepts anonymous email or is configured with External Auth in Exchange.

we have the anonymous access on the exchange relay but the problem is if it see the "From field value other than generic email address" relay kill that email.