You are here

README.txt in Multiple E-mail Addresses 5

Same filename and directory in other branches
  1. 6 README.txt
  2. 7 README.txt
  3. 2.x README.txt
Module: Multiple Email Addresses
Author: Joshua Benner <joshbenner@gmail.com>
Sponsor: Rock River Star (www.rockriverstar.com) -- My employer

Please note this is a development release. More features and finishing will
come with some time.

The Multiple Email module allows users to register additional emails for their
user accounts. Only one email address is considered to be the "primary" email
address, and will continue to behave as normal. Non-primary accounts are
mostly functionally meaningless, except that during user registration any
email address registered to a user cannot be used to create a new account.

Users may select any confirmed email address to become their primary email
address. This means that the user account edit page's email address field will
not change the user's email address. The default settings for the module will
actually hide the email address field on the user account edit page.

At this time, there is no administrator interface to manage per-user multiple
email address settings. That is to come!

This module was written to fill a small need on the growing number of Drupal-
based social network sites that allow users to "invite" other users based on
their email address. While this module does not implement any invitation code
or integrate directly with any modules that do, it is my hope that these
connections between Multiple Email and other modules will develop to enhance
the usefulness of both.

Once the module is installed, administration settings are available under Site
Configuration -> Multiple Email Settings. The configuration options are rather
straight-forward at this point and are documented in the field descriptions.

The module will create a menu item in the Navigation menu called 'My Email
Addresses' that links to the user's email management page.

Hooks
-----
hook_multiple_email_register($email)
  - $email is the email object that has just been registered
  - Use this hook to perform actions when a user registers an email address
    (but isn't confirmed yet)

hook_multiple_email_confirm($email)
  - $email is the email object that has just been registered
  - Use this hook to perform actions when a user confirms an email address

File

README.txt
View source
  1. Module: Multiple Email Addresses
  2. Author: Joshua Benner
  3. Sponsor: Rock River Star (www.rockriverstar.com) -- My employer
  4. Please note this is a development release. More features and finishing will
  5. come with some time.
  6. The Multiple Email module allows users to register additional emails for their
  7. user accounts. Only one email address is considered to be the "primary" email
  8. address, and will continue to behave as normal. Non-primary accounts are
  9. mostly functionally meaningless, except that during user registration any
  10. email address registered to a user cannot be used to create a new account.
  11. Users may select any confirmed email address to become their primary email
  12. address. This means that the user account edit page's email address field will
  13. not change the user's email address. The default settings for the module will
  14. actually hide the email address field on the user account edit page.
  15. At this time, there is no administrator interface to manage per-user multiple
  16. email address settings. That is to come!
  17. This module was written to fill a small need on the growing number of Drupal-
  18. based social network sites that allow users to "invite" other users based on
  19. their email address. While this module does not implement any invitation code
  20. or integrate directly with any modules that do, it is my hope that these
  21. connections between Multiple Email and other modules will develop to enhance
  22. the usefulness of both.
  23. Once the module is installed, administration settings are available under Site
  24. Configuration -> Multiple Email Settings. The configuration options are rather
  25. straight-forward at this point and are documented in the field descriptions.
  26. The module will create a menu item in the Navigation menu called 'My Email
  27. Addresses' that links to the user's email management page.
  28. Hooks
  29. -----
  30. hook_multiple_email_register($email)
  31. - $email is the email object that has just been registered
  32. - Use this hook to perform actions when a user registers an email address
  33. (but isn't confirmed yet)
  34. hook_multiple_email_confirm($email)
  35. - $email is the email object that has just been registered
  36. - Use this hook to perform actions when a user confirms an email address