I'm working on a site that need to automatically generate a new email address for every new site member...
Is drupal even capable of this?

What I have so far http://skylineyouth.com

Comments

andrewsl’s picture

It depends on your e-mail software. You have to create a module that creates virtual mailboxes for each account on your smtp and pop3/imap server.

--
Andrew

xeniac’s picture

There are many ways, if you have an Webserver of you own.

Maybe you could setup your Mailserver to use SQL Authentication.
This way - every new Drupal account will also be a new Mail Account.

The other way would be a cron job, that checks the Drupal Database an creates the missing accounts, or alters them.

The third way would be a custom Drupal Module that adds the new account to the Mail System.
I would not recomment this, creating mail accounts usaly means that you have root Privilegeges.

hendrickvp’s picture

Well thats what complicates it. The server is a 1and1 shared hosting account.

Which I'm guessing makes options 1 and 2 impossible.

But would a cron job, still be able to create the email account?

linulo’s picture

You need to be more specific on how new mail accounts can be made on your mail server.
Is ist a web frontend? Everything a user can do with a browser can be done by a PHP script - except answering Captchas.

hendrickvp’s picture

Well, I don't know how I can be. What I'm really trying to do is have drupal automatically create email accounts with 1and1.