For SMTP setup we will use the WP Mail SMTP by WPForms plugin
1- Login to wordpress admin and go to plugins menu
2- Click Add New Plugin
3- Search for “wp mail smtp”, and install the WP mail SMTP by WPForms plugin

4- Click Activate
5- Click lets get Started