Jump to content

When a field of user profile(page) updated, a email will send to user


Recommended Posts

I added a field to user template, name status.

it has two values, approved and non-approved.

Restricted pages could be reached if that field is approved.

The website is opened for public registration, and the default value of that field is non-approved.

The approval process is manually and it is approved by site administrator

When  a site administrator changed the field value to approved, I want to trigger a email notification to that user to tell him/her, your account has been approved, you can now login or access our member area blablabla.

I want to write a simple module to implement my needs.

But I'm not sure which hook should it focus on  ?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...