I think what I'm trying to accomplish is pretty straight forward, but I just can't seem to get it to work properly.
The setup is as follow:
- I am using Drupal 7
- I have a field on my user accounts where I can add files my users can download when they have logged in
- There is no limit to the amount of files that can be added
What I am trying to accomplish:
- Administrator adds a new file to the user's account via the file field.
- After saving, an email should be sent to the user notifying them that a new file is available.
I have managed to get the email to send out on the initial upload of a file, but now, as long as the account already has a file it will send out an email regardless of whether a new file has been added. The update can simply be a password change and it still sends an email that a new file is available?
What am I doing wrong?