How to send automatic email with generated passord to user after wp_create_user?

I need that after user registration, my users would receive a generated password on their email address.

I would like to have an example.

P.S.
I have already read (http://wordpress.stackexchange.com/questions/40566/send-automatic-email-to-user-after-wp-create-user) but I did not understand.

Thanks

Pietro