Configure locally to be able to recover password via email

I have invoiceplane 1.5.11 installed locally using xampp but password recovery from login does not work, what option should I choose from the configuration in email sendmail, phpmail or SMTP? And what other configurations should I make to make it work? either in xampp or in some .php from the repository

See that other thread, i’m going to archive this one.