How to send email at registration time

We have registration page anonymous user can register itself but password and user id send user email user email fill on registeration page i have also done add module email connector and encryption and mx module but how can I send user id(user email) and password (random)through email on the Click on registered button 
0 answers