I would like to allow users to register by sending an email.

Mailhandler is a start, it allows nodes to be created by registered users but does not seem to be able to create accounts for new users.

There are affiliated modules which I am looking through.

Curious if anyone has been able to allow anonymous users to register via an e-mail sent to a web site? Thank you.

Comments

WorldFallz’s picture

There's an issue floating around the mailhandler issue queue that describes how to allow anonymous users to post-- once they can do that, you should be able to use the rules module to create the account based on a rule that gets kicked off when a post of the conetnt type you use for registration gets created.

itserich’s picture

Thanks WorldFallz. I did find the queue and configured anonymous posting.

To create an account in Rules, I am guessing:

Event: Content is Going to Be Saved / After Saving New Content (Going to be Saved probably ideal so as to link node with the author)
Condition: User has Role Anonymous
Action: Create User Account

It looks like tokens should be used to create the User Name and associate it with the EMail.

Should the email be tokenized by Mailhandler through a Command?

The Variable New User Settings and New User's Password Settings look like they are used to store the new user information and don't require tokens.

Any more pointers? Create a User seems key but I have not found much on how to configure it.

Thank you.

itserich’s picture

For anyone interested I created an issue at the Mailhandler queue:

http://drupal.org/node/977714