in a contact form, click the from button to access advanced from Settings, and for the Reply to address, click the lightning bolt icon and select the email address form element.
The email server settings depend on your host, in many cases the email server setting can be left blank