function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Joseph BundaJoseph Bunda 

Community User Registration Email coming from Salesforce incorrect, and cannot be disabled

We have this problem too. We have a controller for user registration which is exhibiting two different problems:

1. We're using Site.createExternalUser (<user sObject>, <account ID>, <password>, <send email flag = false>). Despite setting the send email flag to false as per the documentation, an email is still sent to the user.
2. The email sent to the user after registration contains a link to the wrong community's login page.

The only workaround I can figure out is to send a custom email to the user, but the user is now receiving two emails upon registration. The one coming from Salesforce is incorrect and seemingly can't be disabled. The custom email is correct.

Any ideas?