Auto reply mail

I am creating a site. I want my site to auto mail username and password to the registered mail how to do that ?

website related to web development may help …

yes…

//