I was wondering how to auto generate a user email accounts in Drupal? I do not have a host currently but am trying to get my head around how this would be done.
+1
A:
The Postfix mail server allows you to use a set of MySQL tables to set up mail accounts. With a little bit of custom coding against hook_user()
, you could have new users get added to your Postfix tables and thus have e-mail addresses all nicely setup ready to go.
ceejayoz
2009-09-16 18:35:19
A:
The other way you could do it is by using exec
on your local server to run a script which adds a mail account. It really depends on your server environment.
cam8001
2009-09-17 00:19:42
A:
Drupal is not an email server - hence you must connect Drupal to an email server in some way, most likely through the use of a custom module.
HipHop-opatamus
2009-09-17 00:31:29
+1
A:
There is a Drupal module for that: http://drupal.org/project/mailfix
Doka
Doka
2010-01-04 19:47:28