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
T@IHGT@IHG 

Chatter Email Settings - what field in the user object holds this?

I want to disable all Chatter emails for my users when they are created (we load our users via daily feed).

 

I can't seem to identify the correct field in the user object which holds the setting.  I see the one which auto-subscribes users to records/feeds, but I can't find the one which disables Chatter emails completely.

 

Anyone know?

Best Answer chosen by Admin (Salesforce Developers) 
Ispita_NavatarIspita_Navatar

Hi T@IHG,

From your post there seems that you want to restrict emails to users , but its not quite clear whether you want to totally restrict the email or you want to restrict the emails of only the newly formed users:-

  • In case you want to supress all email in the org the best way would be do globally turn email off from:-                        App Setup- Customize - Chatter - Settings -  {In this page under Email Notifications (section) uncheck the checkbox - Allow Emails}
  • In case you want to retain the email notifications and only want to restrict it for few users the best way to go about it is from:- Personal Setup->MyChatterSetting->ChatterEmailSetting from here you can make changes according to the access or setting you want to set for each user. 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.

All Answers

Ispita_NavatarIspita_Navatar

Hi T@IHG,

From your post there seems that you want to restrict emails to users , but its not quite clear whether you want to totally restrict the email or you want to restrict the emails of only the newly formed users:-

  • In case you want to supress all email in the org the best way would be do globally turn email off from:-                        App Setup- Customize - Chatter - Settings -  {In this page under Email Notifications (section) uncheck the checkbox - Allow Emails}
  • In case you want to retain the email notifications and only want to restrict it for few users the best way to go about it is from:- Personal Setup->MyChatterSetting->ChatterEmailSetting from here you can make changes according to the access or setting you want to set for each user. 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.

This was selected as the best answer
T@IHGT@IHG

Yep, I suspect that will do it.  I was looking for a setting PER USER, but it's much easier just to disable it completely.

 

Thanks!

Scott FletcherScott Fletcher
I want to enable Chatter Emails but disable notiications by default for all users. This will allow me to pilot with a small group, instructing them to set their email-notification preferences, while avoiding unexpected emails across the whole organisation.

It appears that the way to do this is to query

SELECT
Id,
Name,
DefaultGroupNotificationFrequency,
DigestFrequency,
UserPreferencesDisableAllFeedsEmail,
UserPreferencesDisableBookmarkEmail,
UserPreferencesDisableChangeCommentEmail,
UserPreferencesDisableFollowersEmail,
UserPreferencesDisableLaterCommentEmail,
UserPreferencesDisableLikeEmail,
UserPreferencesDisableMentionsPostEmail,
UserPreferencesDisableMessageEmail,
UserPreferencesDisableProfilePostEmail,
UserPreferencesDisableSharePostEmail,
UserPreferencesDisCommentAfterLikeEmail,
UserPreferencesDisMentionsCommentEmail,
UserPreferencesDisProfPostCommentEmail

FROM User
WHERE UserType = 'Standard'
User.Profile.UserLicenseId = '1006000000003cvAAA' /* standard full-CRM license */
AND IsActive = TRUE

Save the result to CSV, then update the User object to set 

DefaultGroupNotificationFrequency and
DigestFrequency to N for never
and the UserPreferencesDisable and Dis fields to TRUE.

When I attempt this, the update completes but the user email preferences remain unchanged. Am I overlooking something?