any hosting companies don’t allow clients to send emails from localhost, so it requires us to configure the authentication in our website applications, please don’t expect the hosting provider can change their settings on the hosting server:) Some applications have configured SMTP authentications already, you just need to add the SMTP server, SMTP user and password, then it will be working.