Dan-Da-Man said:
hmm i was thinking straight redirection method, like the server receives the msg and forwards it to the email stored in the users account then deleted it from the server. thanks for ur help
the information I gave you, is straight redirection method, you just need to know what kind of mailer daemon your server using and how it handle e-mails (RTFM),so whenever a user sign up, your script (PHP or Perl/CGI) just need to create a new user account then forward the mail by 'adding a line of code' in that user configuration,
for example, my server using qmail, and user configuration file to do this is in
/var/qmail/mailnames/domainname.com/mailuser01
my script need to modify /var/qmail/mailnames/domainname.com/mailuser01/.qmail
and add this to that line
&
[email protected]
most MTA (Mail Transport Agent) able to do this, please once again RTFM...
if you don't have your own server, there's another method, .. Get an eNom reseller account, then register/transfer the name to that account, then contact their support to add your server/host ip address to access their API. Set the name servers to enom nameservers, go to their API information page, download the documentation and sample code. Use "getforwarding" and "forwarding" function calls to do this.