Invitee clicks on â€œAcceptâ€ link in â€œInvitation to Join Siteâ€ Email
â€œAcceptâ€ link invokes the following steps
If Inviter has already cancelled the invitation, then send an Email to the Invitee notifying him/her that this has happened. Do not follow any more steps.
Activate Invitee account if account is inactive
Add Invitee to site (Site service, in turn, posts 'User Joined Site' Activity
If account has just been activated then send â€œAccount created. You've been added to Siteâ€ Email to Invitee. Otherwise if account was already active then just send â€œYou've been added to Siteâ€ Email.
Send Email to Inviter to notify him/her that that Invitee has accepted the invitation and been successfully added to the Site.
(Subject to further discussion) Send â€œJoin Notificationâ€ emails to each Site user who has Join Notifications enabled