You can use a SMTP plugin like Post SMTP or Easy WP SMTP to install the email settings in WordPress. Configure the settings and you should be good to send mails from WordPress. Most of the plugins have sender details, mail settings and SMTP options. You can also enable encryption and choose the right server, port. These settings are available on the left hand side of WordPress panel.