there is a way to do this in php, but its a pain. however it is faster for new people to use. i would post the code, but i keep this system's code to myself as it mantains almost 95% of my email addresses except for admin -at- gozenn.com.
first off, you need to have the following: - Cron Jobs (cPanel allows for easy addition to these)
- IMAP, POP3 and NNTP Functions (This extension requires the c-client library to be installed)
- the ability to set Default Address for your domain. (cPanel works great again!)
1. tell members that they can now use <therename>@example.com
2. create a script that will connect to the IMAP (or POP, same functions) server and retreve all of the emails out of the default email address. have it then save the emails to a database and delete them from the IMAP (or POP) server. (you can keep them if u want... by why wast space?)
3. have this run on a cron job every X minuts so that it keeps the database up to date.
4. allow members to log into a special panel that you have coded that allows them to pull the emails that are to there email address (remember, you NEVER created the email address, it just went to the default account) and do what they want (reply, forward, delete, ect).
5. sit back and go WOW that makes life so much easyer!
so there you have it. that how i manage my email accounts, and it works great for users aswell.
|