Password recovery or reset?

i have read this issue about password recovery

and am wondering if anyone can provide more info on how to do this please?
is there some service i can use like sendgrid or i have to host a page to make this work?
maybe there is a simple example somewhere?
please & thanks