Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Disable Invitation Email #24

Open
SB-o-matic opened this issue Sep 6, 2019 · 1 comment
Open

Disable Invitation Email #24

SB-o-matic opened this issue Sep 6, 2019 · 1 comment

Comments

@SB-o-matic
Copy link

First of all, thank you for putting this up. I am more of a PowerShell type and will like to know how to stop the user from receiving any invitation email at all.
I was looking in code for the part that called the Azure B2B invitation API so that I can set SendInvitationMessage to $false with no luck.

Any help at all will be appreciated.

Thanks!

@AmitavaHazra
Copy link

You can simply comment code which is responsible to send mail in GuestRequestRule.CS file.
request.Status = await InviteManager.SendInvitation(request, profileUrl, domainSettings);

You can test it out once as I did not test it :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants