SharePoint Communication Sites - "Send by email" settings

%3CLINGO-SUB%20id%3D%22lingo-sub-97552%22%20slang%3D%22en-US%22%3ESharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-97552%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20th%20new%20communication%20sites%20you%20have%20that%20%22Send%20by%20email%22%20on%20top%20of%20every%20news%2Fpage.%3C%2FP%3E%3CP%3EIs%20it%20possible%20to%20control%20it%20somehow%20via%20the%20settings%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EApparently%20it%20is%20possible%20to%20email%20a%20news%20to%20an%20External%20User%20and%20we%20want%20to%20avoid%20that.%3C%2FP%3E%3CP%3EEven%20if%20the%20external%20user%20cannot%20open%20the%20link%20in%20the%20email%2C%20they%20can%20see%20a%20preview%20of%20the%20page%2Fnews.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20your%20feedback%2C%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-97552%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ECommunication%20Sites%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ECommunications%20Sites%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EEmail%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eexternal%20sharing%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eexternal%20users%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-283718%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-283718%22%20slang%3D%22en-US%22%3E%3CP%3EPerhaps%20if%20someone%20sets%20out%20with%20the%20idea%20to%20share%20content%20then%20absolutely%2C%20it%20is%20not%20rocket%20science%20to%20cut%2Fpaste%2C%20however%2C%20those%20buttons%20just%20sitting%20there%2C%20staring%20at%20you%20are%20enough%20to%20put%20the%20idea%20in%20someones%20head.%26nbsp%3B%20%22Hey%2C%20why%20don't%20I%20share%20this%20with%20page%20with%20...%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOut%20of%20sight%2C%20out%20of%20mind...%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-283716%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-283716%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20built%20a%20small%20web-part%20that%20can%20be%20put%20an%20a%20modern%20page%20and%20offers%20the%20ability%20to%20hide%20some%20predefined%20elements%20(Office%20365%20Launcher%20Bar%2C%20Share%20Site%2C%20Send%20by%20Email%2C%20and%20the%20Footer)%20as%20well%20as%20adding%20any%20other%20elements%20which%20can%20be%20selected%20using%20a%20querySelector%20query.%26nbsp%3B%20Anyone%20is%20welcome%20to%20use%20and%2For%20modify%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ffuzion9%2FspfxExternalSiteShareCleaner%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Ffuzion9%2FspfxExternalSiteShareCleaner%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-283219%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-283219%22%20slang%3D%22en-US%22%3E%3CP%3EAgree%20that%20we%20should%20get%20more%20control%20on%20this%20feature.%20There%20should%20be%20an%20option%20to%20prevent%20users%20from%20sharing%20with%20external%20users.%20You%20could%20look%20into%20Exchange%2C%20find%20a%20way%20to%20capture%20these%20emails%20and%20block%20them%20when%20they%20are%20being%20sent%20to%20external%20users.%20Not%20sure%20if%20it's%20possible%2C%20but%20without%20any%20controls%20in%20SharePoint%2C%20that's%20the%20first%20place%20where%20I%20would%20look%20for%20a%20solution.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-282605%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-282605%22%20slang%3D%22en-US%22%3E%3CP%3EI%20think%20you%20are%20overstating%20the%20degree%20of%20difficulty%20of%20copy%20and%20paste.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhich%20reduces%20the%20severity%20of%20the%20built-in%20email%20the%20page%20feature.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-282590%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-282590%22%20slang%3D%22en-US%22%3E%3CP%3EBecause%20this%20'feature'%20that%20you%20cannot%20disable%20(without%20a%20hack%20or%20creating%20your%20own%20page%20type)%20literally%20parses%20the%20page%20and%20adds%20a%20snippet%20of%20the%20content%20to%20the%20email%20bypassing%20all%20security%20in%20place.%26nbsp%3B%20I%20understand%20that%20as%20a%20user%20they%20can%20simply%20copy%20and%20paste%20the%20contents%20a%20of%20page%20and%20email%20them%2C%20but%20that%20requires%20effort%20and%20a%20strong%20understanding%20of%20what%20they%20are%20doing%20as%20well%20as%26nbsp%3Bgiving%20the%20end%20user%20a%20chance%20to%20filter%20and%2For%20remove%20content.%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20if%20your%20sharing%20the%20page%20with%20an%20external%20user%3F%26nbsp%3B%20Now%20they%20can%20just%20click%20the%20button%2C%20enter%20an%20email%20address...%20any%20email%20address%2C%20and%20send%20content%20from%20your%20page%20to%20anyone.%26nbsp%3B%20%26nbsp%3BIts%20pretty%20amazing%20that%20this%20hasn't%20been%20addressed%20yet.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-253442%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-253442%22%20slang%3D%22en-US%22%3E%3CP%3EReally%3F%20How%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-201339%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-201339%22%20slang%3D%22en-US%22%3E%3CH1%20id%3D%22toc-hId-481710291%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%20id%3D%22toc-hId-1899456378%22%3EThis%20is%20a%20%3CSTRONG%3EHUGE%20SECURITY%20FLAW%3C%2FSTRONG%3E.%20Why%20is%20Microsoft%20not%20addressing%20this%3F%3F%3F%3F%3C%2FH1%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-186193%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-186193%22%20slang%3D%22en-US%22%3E%3CP%3EAnyone%20find%20a%20way%20to%20disable%20this%20%22Send%20by%20Email%22%20button%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-130268%22%20slang%3D%22en-US%22%3ERE%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-130268%22%20slang%3D%22en-US%22%3Emaybe%20you%20could%20zap%20it%20with%20css%20as%20a%20grubby%20workaround%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-130102%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-130102%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIs%20it%20still%20not%20possible%20to%20configure%20this%20setting%3F%3C%2FP%3E%0A%3CP%3EThe%20%22Send%20by%20email%22%20bar%20is%20taking%20unnecessary%20space%20at%20the%20top%20of%20the%20site.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20help%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-97592%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-97592%22%20slang%3D%22en-US%22%3ESorry%2C%20but%20this%20is%20something%20you%20cannot%20achieve%20today%20in%20Communications%20sites%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-481214%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-481214%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Dave%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhere%20would%20you%20paste%20your%20code%20on%20the%20modern%20page%3F%20I%20cannot%20seem%20to%20figure%20out%20how%20to%20do%20so.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F238633%22%20target%3D%22_blank%22%3E%40Dave%20Field%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-481218%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-481218%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F325668%22%20target%3D%22_blank%22%3E%40justynagee%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20-%20this%20is%20the%20source%20code%20for%20building%20a%20Sharepoint%20app.%26nbsp%3B%20You%20will%20need%20to%20follow%20the%20instructions%20on%20this%20site%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fspfx%2Fweb-parts%2Fget-started%2Fbuild-a-hello-world-web-part%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fspfx%2Fweb-parts%2Fget-started%2Fbuild-a-hello-world-web-part%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20sorry%20I%20can't%20be%20of%20more%20help%20right%20now.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EDave%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-506111%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-506111%22%20slang%3D%22en-US%22%3E%3CP%3ESo%20my%20manager%20approached%20me%20yesterday%20about%20this%20button%2C%20asking%20if%20we%20could%20disable%20it.%20Official%20answer%20from%20MS%20is%20%22no.%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20I%20whipped%20up%20this%20quick%20Application%20Customizer%20Extension.%20As%20the%20page%20loads%20it%20checks%20for%20the%20button%2C%20and%20replaces%20it%20with%20an%20empty%20div.%20It's%20a%20bit%20of%20a%20hack%20job%2C%20but%20appears%20to%20be%20working%20so%20far.%20Biggest%20downside%20is%20it%20needs%20to%20be%20installed%20to%20each%20site%20collection%20individually.%20And%20if%20MS%20ever%20changes%20the%20name%20of%20the%20actual%20button%20element%2C%20it'll%20have%20to%20be%20updated.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3Eexport%3C%2FSPAN%3E%20%3CSPAN%3Edefault%3C%2FSPAN%3E%20%3CSPAN%3Eclass%3C%2FSPAN%3E%20%3CSPAN%3ERemoveSendByEmailButtonApplicationCustomizer%20%3C%2FSPAN%3E%3CSPAN%3Eextends%3C%2FSPAN%3E%20%3CSPAN%3EBaseApplicationCustomizer%3C%2FSPAN%3E%3CSPAN%3E%26lt%3B%3C%2FSPAN%3E%3CSPAN%3EIRemoveSendByEmailButtonApplicationCustomizerProperties%3C%2FSPAN%3E%3CSPAN%3E%26gt%3B%20%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%3C%2FSPAN%3E%3CSPAN%3Eprivate%3C%2FSPAN%3E%20%3CSPAN%3EmaxRetries%3C%2FSPAN%3E%3CSPAN%3E%3A%3C%2FSPAN%3E%20%3CSPAN%3Enumber%3C%2FSPAN%3E%20%3CSPAN%3E%3D%3C%2FSPAN%3E%20%3CSPAN%3E20%3C%2FSPAN%3E%3CSPAN%3E%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%3C%2FSPAN%3E%3CSPAN%3Eprivate%3C%2FSPAN%3E%20%3CSPAN%3Eretries%3C%2FSPAN%3E%3CSPAN%3E%3A%3C%2FSPAN%3E%20%3CSPAN%3Enumber%3C%2FSPAN%3E%20%3CSPAN%3E%3D%3C%2FSPAN%3E%20%3CSPAN%3E0%3C%2FSPAN%3E%3CSPAN%3E%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%3CSPAN%3E%40%3C%2FSPAN%3E%3CSPAN%3Eoverride%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%3C%2FSPAN%3E%3CSPAN%3Epublic%3C%2FSPAN%3E%20%3CSPAN%3EonInit%3C%2FSPAN%3E%3CSPAN%3E()%3C%2FSPAN%3E%3CSPAN%3E%3A%3C%2FSPAN%3E%3CSPAN%3E%20Promise%3CVOID%3E%20%3C%2FVOID%3E%3C%2FSPAN%3E%3CSPAN%3E%7B%3C%2FSPA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2FSPAN%3E%3CSPAN%3E100%3C%2FSPAN%3E%3CSPAN%3E)%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3CFONT%20face%3D%22Consolas%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3C%2FFONT%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3CFONT%20face%3D%22Consolas%22%3E%26nbsp%3B%20%7D%3C%2FFONT%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3CDIV%3E%3CSPAN%3E%3CFONT%20face%3D%22Consolas%22%3E%7D%3C%2FFONT%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1763673%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1763673%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F92682%22%20target%3D%22_blank%22%3E%40Andrea%20Mondello%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDid%20you%20ever%20get%20a%20solution%2C%20to%20this%20problem%2C%20in%20Sharepoint%20365%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20is%20a%20major%20flaw!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDan%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1764538%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1764538%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F813190%22%20target%3D%22_blank%22%3E%40Don00135%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20is%20a%20custom%20module%20that%20can%20be%20installed%20to%20a%20site.%20I%20created%20a%20new%20module%20using%20SPFx%20and%20this%20was%20the%20code%20I%20put%20in%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOverview%20of%20SPFx%20if%20you%20are%20not%20familiar%20with%20it%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fspfx%2Fsharepoint-framework-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fspfx%2Fsharepoint-framework-overview%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20specific%20module%20type%20was%20%22Application%20customizer%22%20extension%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fspfx%2Fextensions%2Foverview-extensions%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fspfx%2Fextensions%2Foverview-extensions%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1812369%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1812369%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F169459%22%20target%3D%22_blank%22%3E%40Robert%20Hovorka%3C%2FA%3E%26nbsp%3BThank%20you%20for%20our%20reply%2C%20to%20my%20message.%3C%2FP%3E%3CP%3EI%20have%20just%20being%20trying%20to%20get%20familiar%2C%20with%20the%20Sharepoint%20Framework%20and%20the%20Helloworld%20example.%3C%2FP%3E%3CP%3EIs%20such%20a%20basic%20example%2C%20as%20HelloWorld%2C%20adequate%2C%20so%20that%20your%20code%20could%20be%20embedded%20and%20applied%2C%20to%20hide%20the%20'Send%20by%20Email'%20button.%3C%2FP%3E%3CP%3EThe%20'Helloworld'%20example%20is%20quite%20lengthy%2C%20but%2C%20very%20interesting.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDan%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1812779%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1812779%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F837799%22%20target%3D%22_blank%22%3E%40Don0011595%3C%2FA%3E%26nbsp%3BI%20believe%20the%20HelloWorld%20example%20is%20a%20webpart%2C%20which%20would%20not%20be%20sufficient%20for%20this%20purpose.%20The%20application%20extension%20is%20still%20a%20SharePoint%20module%2C%20but%20is%20a%20different%20template%20and%20has%20some%20different%20functionality%20and%20requirement.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1831519%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1831519%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F36351%22%20target%3D%22_blank%22%3E%40Benoit%20DELVAUX%3C%2FA%3E%26nbsp%3BJust%20wondering%2C%20if%20you%20ever%20got%20any%20solution%20to%20this%20problem%2C%20of%20'Send%20By%20Email'%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1831521%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1831521%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%26nbsp%3B%20Has%20there%20ever%20been%20any%20solution%20to%20eliminating%20the%20'Send%20By%20Email'%20button%2C%20from%20Sharepoint%20365%2C%20sites%3F%20In%20some%20cases%2C%20it%20is%20a%20drawback%2C%20when%20wanting%20to%20publish%20content%20to%20users%2C%20in%20the%20form%20of%20Document%20Libraries.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1831523%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1831523%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F2144%22%20target%3D%22_blank%22%3E%40Pooya%20Obbohat%3C%2FA%3E%26nbsp%3BDid%20you%20ever%20find%20a%20way%20of%20eliminating%20the%20'Send%20By%20Email'%20link%2C%20from%20Sharepoint%20365%20webpages%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1831540%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1831540%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F238633%22%20target%3D%22_blank%22%3E%40Dave%20Field%3C%2FA%3E%26nbsp%3BIn%20relation%20to%20the%20webpart%20which%20you%20built%2C%20for%20eliminating%20items%20from%20Sharepoint%20365%20pages%2C%20does%20your%20code%20need%20to%20be%20re-compiled%20on%20a%20PC%2C%20using%20node%20and%20gulp%20software%2C%20if%20one%20were%20to%20implement%2C%20that%20code%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20'Send%20By%20Email'%20button%20is%20s%20serious%20drawback%2C%20to%20getting%20sites%20published%2C%20to%20end-users.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eregards%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDon%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1763662%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1763662%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F169459%22%20target%3D%22_blank%22%3E%40Robert%20Hovorka%3C%2FA%3E%3C%2FP%3E%3CP%3ELooking%20at%20your%20code%2C%20regarding%20the%20removal%20of%20the%20'Send%20by%20Email'%20button%2C%20in%20Sharepoint%20365%3B%20where%20does%20that%20code%2C%20get%20fitted%20in%2C%20on%20the%20site-page%3F%20Do%20I%20need%20a%20special%20webpart%2C%20for%20it%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20is%20a%20real%20pain%20that%20there%20is%20no%20solution%20for%20the%20'Send%20by%20EMail'%20link%2C%20which%20keeps%20appearing%20on%20site%20pages%2C%20in%20Sharepoint%20365.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20is%20definately%2C%20a%20drawback!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1832079%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1832079%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F837799%22%20target%3D%22_blank%22%3E%40Don0011595%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYes%2C%20I'm%20afraid%20you%20would%20need%20to%20go%20through%20the%20steps%20of%20setting%20up%20the%20dev%20environment.%26nbsp%3B%20I%20agree%20t%3CSPAN%3Ehe%20'Send%20By%20Email'%20button%20is%20a%20serious%20drawback%20in%2090%25%20of%20situations%20where%20anything%20is%20shared%20externally.%3C%2FSPAN%3E%26nbsp%3B%20To%20be%20honest%20I%20was%20shocked%20to%20see%20this%20is%20STILL%20an%20option%20you%20can't%20disable%2C%20it%20was%20crazy%20a%20year%20a%20go%2C%20and%20its%20even%20crazier%20that%20its%20still%20an%20issue.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20no%20longer%20involved%20with%20our%20sharepoint%20deployment%2C%20so%20I'm%20sorry%20I%20can't%20help%20out%20too%20much%2C%20but%20the%20Documentation%20provided%20by%20Microsoft%20here%3A%26nbsp%3B%3CFONT%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fspfx%2Fweb-parts%2Fget-started%2Fbuild-a-hello-world-web-part%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fspfx%2Fweb-parts%2Fget-started%2Fbuild-a-hello-world-web-part%3C%2FA%3E%3C%2FFONT%3E%20is%20pretty%20good%20for%20explaining%20the%20steps%20required%20to%20create%20and%20publish%20an%20spfx%20into%20your%20instance.%26nbsp%3B%20Once%20you%20follow%20the%20example%20and%20can%20build%20the%20hello%20world%20web%20part%2C%20inserting%20the%20code%20I've%20written%20into%20your%20project%20will%20be%20a%20piece%20of%20cake.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20this%20helps%20a%20bit%2C%3C%2FP%3E%3CP%3EDave%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1875779%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Communication%20Sites%20-%20%22Send%20by%20email%22%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1875779%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F238633%22%20target%3D%22_blank%22%3E%40Dave%20Field%3C%2FA%3E%26nbsp%3BJust%20wondering%20is%20it%20difficult%20to%20apply%20your%20webpart%2C%20to%20a%20live%20page%3F%3C%2FP%3E%3CP%3EThe%20'Send%20By%20Email'%20link%2C%20is%20a%20serious%20drawback%2C%20as%20it%20is%20appearing%2C%20on%20all%20published%20pages.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDan%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello,

 

In th new communication sites you have that "Send by email" on top of every news/page.

Is it possible to control it somehow via the settings?

 

Apparently it is possible to email a news to an External User and we want to avoid that.

Even if the external user cannot open the link in the email, they can see a preview of the page/news.

 

Thanks for your feedback,

Best regards,

25 Replies
Sorry, but this is something you cannot achieve today in Communications sites

Hello @Juan Carlos González Martín

 

Is it still not possible to configure this setting?

The "Send by email" bar is taking unnecessary space at the top of the site.

 

Thanks for your help

maybe you could zap it with css as a grubby workaround?

Anyone find a way to disable this "Send by Email" button?

This is a HUGE SECURITY FLAW. Why is Microsoft not addressing this????

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.

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.

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.

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

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... :)

Hi Dave,

 

Where would you paste your code on the modern page? I cannot seem to figure out how to do so. @Dave Field 

@justynagee 

 

Hi - this is the source code for building a Sharepoint app.  You will need to follow the instructions on this site: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-p...

 

I'm sorry I can't be of more help right now.

 

Thanks,

Dave

 

 

So my manager approached me yesterday about this button, asking if we could disable it. Official answer from MS is "no."

 

So I whipped up this quick Application Customizer Extension. As the page loads it checks for the button, and replaces it with an empty div. It's a bit of a hack job, but appears to be working so far. Biggest downside is it needs to be installed to each site collection individually. And if MS ever changes the name of the actual button element, it'll have to be updated.

 

export default class RemoveSendByEmailButtonApplicationCustomizer extends BaseApplicationCustomizer<IRemoveSendByEmailButtonApplicationCustomizerProperties> {
  private maxRetries: number = 20;
  private retries: number = 0;
  @override
  public onInit(): Promise<void> {
    document.onreadystatechange = () => {
      if(document.readyState === 'complete') {
        this._hideButton();
      }
    };
   
    return Promise.resolve();
  }

  private _hideButton(): void {
    if(this.retries < this.maxRetries) {
      this.retries++;
      setTimeout(() => {
        let buttonElements: NodeListOf<HTMLElement> = document.getElementsByName("Send by email");
        if(buttonElements.length > 0 ) {
          for(var i = 0; i < buttonElements.length; i++) {
            buttonElements.item(i).parentElement.innerHTML = "<div></div>";
          }
        } else {
          this._hideButton();
        }
      }, 100);
    }
  }

}

@Robert Hovorka

Looking at your code, regarding the removal of the 'Send by Email' button, in Sharepoint 365; where does that code, get fitted in, on the site-page? Do I need a special webpart, for it?

 

It is a real pain that there is no solution for the 'Send by EMail' link, which keeps appearing on site pages, in Sharepoint 365.

 

It is definately, a drawback!

 

 

Regards,

 

Dan

@Andrea Mondello 

Did you ever get a solution, to this problem, in Sharepoint 365?

 

It is a major flaw!

 

Regards,

 

Dan

 

@Don00135 

It is a custom module that can be installed to a site. I created a new module using SPFx and this was the code I put in it.

 

Overview of SPFx if you are not familiar with it:

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-framework-overview

 

The specific module type was "Application customizer" extension

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/overview-extensions

@Robert Hovorka Thank you for our reply, to my message.

I have just being trying to get familiar, with the Sharepoint Framework and the Helloworld example.

Is such a basic example, as HelloWorld, adequate, so that your code could be embedded and applied, to hide the 'Send by Email' button.

The 'Helloworld' example is quite lengthy, but, very interesting.

 

Regards,

 

Dan

 

@Don0011595 I believe the HelloWorld example is a webpart, which would not be sufficient for this purpose. The application extension is still a SharePoint module, but is a different template and has some different functionality and requirement.