[thelist] Create 1 Email Address on the Fly

Jay Blanchard jay.blanchard at niicommunications.com
Wed Jan 26 10:58:48 CST 2005

Here's another one for you that's destined for a Unix Server. I want to
able to have a field in my form that follows this:

They would enter a handle and if it doesn't exist in the email program
through cpanel, then that address would be created courtesy of the
username/password given.

Is this possible? and how?

Where does the server hold e-mail addresses? If you need to use cpanel
you'll find this difficult but you could probably do something with
cURL. If the server uses a database for  e-mail addresses it is a matter
of a simple query and return. If the email accounts are managed in
/var/mail (some *nix servers) you could read the proper directory for
e-mail addresses.

More information about the thelist mailing list