Forum Discussion
SharePoint Communication Sites - "Send by email" settings
Really? How?
Because this 'feature' that you cannot disable (without a hack or creating your own page type) literally parses the page and adds a snippet of the content to the email bypassing all security in place. I understand that as a user they can simply copy and paste the contents a of page and email them, but that requires effort and a strong understanding of what they are doing as well as giving the end user a chance to filter and/or remove content.
What if your sharing the page with an external user? Now they can just click the button, enter an email address... any email address, and send content from your page to anyone. Its pretty amazing that this hasn't been addressed yet.
- Dave FieldNov 07, 2018Copper Contributor
I have built a small web-part that can be put an a modern page and offers the ability to hide some predefined elements (Office 365 Launcher Bar, Share Site, Send by Email, and the Footer) as well as adding any other elements which can be selected using a querySelector query. Anyone is welcome to use and/or modify it.
https://github.com/fuzion9/spfxExternalSiteShareCleaner
- Don0011595Feb 18, 2021Copper Contributor
Dave Field Hi Dave, I tried to use this code and find that when I select any of the options, the 'Send By Email Link' still reappears. Would I be missing something?
At present, I have sites built, but, cannot go live, due to the 'Send By Email' button.
One would think, that this problem, should be resolved by, Microsoft, at this stage.
Dan
- Don0011595Nov 11, 2020Copper Contributor
Dave Field Just wondering is it difficult to apply your webpart, to a live page?
The 'Send By Email' link, is a serious drawback, as it is appearing, on all published pages.
Regards,
Dan
- Don0011595Oct 29, 2020Copper Contributor
Dave Field In relation to the webpart which you built, for eliminating items from Sharepoint 365 pages, does your code need to be re-compiled on a PC, using node and gulp software, if one were to implement, that code?
The 'Send By Email' button is s serious drawback, to getting sites published, to end-users.
regards,
Don
- Dave FieldOct 29, 2020Copper Contributor
Yes, I'm afraid you would need to go through the steps of setting up the dev environment. I agree the 'Send By Email' button is a serious drawback in 90% of situations where anything is shared externally. To be honest I was shocked to see this is STILL an option you can't disable, it was crazy a year a go, and its even crazier that its still an issue.
I'm no longer involved with our sharepoint deployment, so I'm sorry I can't help out too much, but the Documentation provided by Microsoft here: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part is pretty good for explaining the steps required to create and publish an spfx into your instance. Once you follow the example and can build the hello world web part, inserting the code I've written into your project will be a piece of cake.
Hope this helps a bit,
Dave
- Pooya ObbohatNov 07, 2018Iron Contributor
Agree that we should get more control on this feature. There should be an option to prevent users from sharing with external users. You could look into Exchange, find a way to capture these emails and block them when they are being sent to external users. Not sure if it's possible, but without any controls in SharePoint, that's the first place where I would look for a solution.
- Don0011595Oct 29, 2020Copper Contributor
Pooya Obbohat Did you ever find a way of eliminating the 'Send By Email' link, from Sharepoint 365 webpages?
- Nov 05, 2018
I think you are overstating the degree of difficulty of copy and paste.
Which reduces the severity of the built-in email the page feature.
- _SAube_Feb 06, 2023Copper Contributor
KevinCrossman While the difficulty to copy and paste a web site is trivial as there are dedicated software for that, the simple addition of a button to do just that will certainly invalidate a few company's policies and perhaps cyberprotection insurance coverage. Offering a button to send a web pages that may contain sensitive data to just anyone is ridiculous. A user exfiltrating data, because the technology can't prevent it, is one thing, offering the option directly on the web page is another thing. The responsibility is shifted from the user to the company.
- Dave FieldNov 07, 2018Copper Contributor
Perhaps if someone sets out with the idea to share content then absolutely, it is not rocket science to cut/paste, however, those buttons just sitting there, staring at you are enough to put the idea in someones head. "Hey, why don't I share this with page with ..."
Out of sight, out of mind... :)