Granting Permissions – Sending Welcome E-Mail by Accident

October 18 2010 25 comments

The “Send welcome e-mail to the new users” checkbox is checked by default when users are granted permissions to SharePoint. We developed a quick workaround to uncheck the checkbox by default to prevent accidental e-mails:

$(document).ready(function () {
    if (self.location.href.indexOf('aclinv.aspx') > 0) {
        $(':checkbox[id$=ifsSendEmail_chkSendEmail]').attr('checked', false);

Aclinv.aspx is the out of the box dialog for granting permissions. Add the clip above to a script file and embed it to your custom system master:

<script type="text/javascript" src="/_layouts/pathtoyourscript/yourscript.js"></script>

If you don’t have a custom system master, you could just change the Checked attribute in Aclinv.aspx’s chkSendEmail control but that’s not recommended.

Send welcome e-mail to the new users is not checked

Popularity: 6% [?]

25 comments to “Granting Permissions – Sending Welcome E-Mail by Accident”

  1. Arttu Arstila says:

    This is maybe the single most annoying feature in SharePoint.

  2. Andrew says:

    For hacks like this please mention that it may be broken by SharePoint upgrades of Service Packs, and that Microsoft strongly recommends not modifying files directly in the hives.

  3. Juha Pitkänen says:

    Thanks Andrew, I’ll edit the post. The idea is actually to embed the script to a custom system master, not to add it to the out of the box dialog Aclinv.aspx or v4.master (which is also a solution for those who don’t have a custom system master).

  4. Patty says:

    How do you change the email message? It will put your personal message in the middle of a generated email that has a link to the group site among other things. I’d like to send a personal message, but need to change the other default wording that comes with it. I can’t find where that is coming from. Removing the automatic check of the send email is a good start – thank you for this post!

  5. Zubair says:


    Is there a way that we can set up this feature to use in the sender field, the email address of the actual user who is granting the permission? It is using the same (common) email address for all alerts and this is causing a problem in the event of granting permission as the receipient responds to this common address (in case still access is denied on the link) instead of addressing the user who granted the permission.


  6. Juha Pitkänen says:

    Zubair, I don’t think there is a way. The sender’s address is the address defined at Central Admin’s Outgoing E-mail Settings. Also, if you look at SPUtility.SendEmail, you’ll notice that you can’t define the sender address.

  7. pitirkurt says:

    Hi, When I use this I got the following error:
    Do you have any idea why that could be?

    Message: Object expected
    Line: 1
    Char: 1
    Code: 0
    URI: /SiteAssets/chec.js

  8. pitirkurt says:

    Okay I figured it out, It requires Jquery!


  9. Jeremiah says:

    Seems like a browser user script could uncheck this for us, without messing with things you’re not supposed to mess with.

  10. What’s up everybody, here every person is sharing these familiarity, thus it’s pleasant to read this blog, and I used
    to visit this blog every day.

  11. Paragraph writing is also a excitement, if you know afterward you can write otherwise it is complicated to write.

  12. No one can deny from the quality of this video posted at this web page, good work, keep it all the time.

  13. donations says:

    Hello, I need help to pay for my medical bills. Please help.
    Thank you much. My wallet is 12afdbpdJdWE8dJeepzFB5U5XzDLBKHtLQ.

  14. Thanks for granting permissions! It’s a great news for us new users.

  15. The best free sexy chat contacts with a hot ladies only at sex in drenthe! Check out right now and you will not regret it at all!

  16. Transexuelles Lyon is most popular web place for finding casual chat contacts in France

  17. ts ladies says:

    ts ladies is the best web platform for casual sex contacts in EU for lonley guys

  18. Mack says:

    I think it is a funny story.

  19. Femme Sex says:

    Femme Sex is web place created for your own chat pleasure with fine ladies in France

  20. Enjoy sexy contacts with fine ladies in EU only at sex in winterthur

  21. Check our web page for casual sex contacts in EU and you will not regret it Chat Sexe Loire

  22. Check out the best web platfom in France for casual contacts with fine ladies Salope Occitanie

  23. Reife frauen in Wuppertal is great for your own sexy contacts in EU

  24. Trans a Bari says:

    Spend some extratime and find hot ladies for casual contacts in Italy Trans a Bari

  25. sesxvenex says:

    If you are alone check casual ladies from Italy Bacheca Sesso Veneto

Leave a Reply