Ticket #1199 (new enhancement) — at Initial Version

Opened 3 years ago

Last modified 3 years ago

Implement an email function for users.

Reported by: pudo Owned by:
Priority: major Milestone:
Component: ckan Keywords:
Cc: Repository: ckan
Theme: notifications

Description

We need an email function in CKAN to accept messages sent to users. The basic signature will be:

  • mail_user(user_obj, subject, body, mime_type='text/plain', headers={})

This has a number of use cases:

  • Retrieval of lost passwords
  • E-Mail confirmation

Finally, the mail function should be exposed in the API for sysadmin clients. This way we can have scripts traverse CKAN for 404s, invalid data or missing fields and ping users about that automatically (requires traversal by revision, not package, to get the associated users).

Note: See TracTickets for help on using tickets.