Answers.Body: <p>With a plugin, you can tie into the <code>userGroups.onAssignUserToGroups</code> event and send your update email directly with the details.</p>
  
  <p><a href="https://craftcms.com/docs/plugins/events-reference#userGroups-onAssignUserToGroups" rel="nofollow noreferrer">https://craftcms.com/docs/plugins/events-reference#userGroups-onAssignUserToGroups</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-01T17:59:49.583Z
Answers.LastActivityDate: 2017-03-01T18:11:04.043Z
Answers.LastEditDate: 2017-03-01T18:11:04.043Z
Answers.UserDisplayName: ghoward
Body: <p>I have some user groups with different permission and I need to notify them by email when i switch them to another group.</p>
  
  <p>Is there a way to make it automatic by a plugin or via the code directly?</p>
  
Tags: <emails><user-groups>
Title: How to send email to user when we change his group?
ThreadText: # How to send email to user when we change his group?
  
  (Asked by: username_0 on 2017-03-01)
  
  I have some user groups with different permission and I need to notify them by email when i switch them to another group.
  
  Is there a way to make it automatic by a plugin or via the code directly?
  
  **Tags:** emails, user-groups
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-03-01. Score: 1
  
  With a plugin, you can tie into the `userGroups.onAssignUserToGroups` event and send your update email directly with the details.
  
  <https://craftcms.com/docs/plugins/events-reference#userGroups-onAssignUserToGroups>
  
  
  ---
  
  