Please check PHP through the mail() function. To get SMTP credentials, navigate to Sending (1) -> Domain Settings (2), select the domain name (3) from the top drop-down menu, and then click SMTP credentials (4). Read this guide to learn more about How to Set up and Configure SMTP in WordPress.