how to create mail code when user is register
then send random user name and password in CodeIgniter

Basically when you register the data sent by the registrant, you have to use the E-mail library:

If you're still in doubt show your code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.